ClipAsym
Overview
Asymmetric clipper module with separate upper and lower clipping thresholds
Discussion
Asymmetrical clipping, where the upper and lower thresholds are exposed as parameters. By setting $clipLower=-clipUpper$ symmetrical clipping can be achieved.
Type Definition
typedef struct _ModuleClipAsym
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
FLOAT32 clipLower; // Lower clipping threshold.
FLOAT32 clipUpper; // Upper clipping threshold.
} ModuleClipAsymClass;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
clipLower | float | parameter | 0 | -1 | -10:10 | Â |
clipUpper | float | parameter | 0 | 1 | -10:10 | Â |
Pins
Input Pins
Name: in
Description: audio input
Data type: float
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real and Complex
Output Pins
Name: out
Description: audio output
Data type: float
MATLAB Usage
File Name: clipasym_module.m
M=clipasym_module(NAME)
Creates an assymetric clip module for use with Audio Weaver.
Arguments:
NAME - name of the module.
Â