Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

Computes the maximum fixed point absolute value of all input channels on a sample-by-sample basis

Discussion

The MaxAbs module computes the maximum absolute value of all input channels on a per-sample basis. This module is often used as part of dynamics processors, where the mono output of the MaxAbs module is used as the input to the LimiterCore or AutoAttackRelease module.

Type Definition

typedef struct _ModuleMaxAbsFract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleMaxAbsFract32Class;

Pins

Input Pins

Name: in1

Description: Input signal

Data type: fract32

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: fract32

MATLAB Usage

File Name: max_abs_fract32_module.m

 MM=max_abs_fract32_module(NAME, NUMIN)
 This module calculates the maximum absolute value of all input channels
 on a sample-by-sample basis.  Arguments:
 together.  Arguments:
    NAME - name of the module.
    NUMIN - number of input pins

  • No labels