MaxAbs
Overview
Computes the maximum 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 _ModuleMaxAbs
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleMaxAbsClass;
Pins
Input Pins
Name: in1
Description: Input signal
Data type: float
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: max_abs_module.m
MM=max_abs_module(NAME, NUMIN)
This module calculates the maximum absolute value of all input channels
on a sample-by-sample basis.
Arguments:
NAME - name of the module.
NUMIN - number of input pins.