Skip to main content
Skip table of contents

MaxAbsFract32

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

CODE
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

CODE
 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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.