ClipAsymFract32
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.
Module Pack
Standard
ClassID
classID = 139
Type Definition
typedef struct _ModuleClipAsymFract32
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
FLOAT32 clipLower; // Lower clipping threshold
fract32 clipLowerFract32; // Lower clipping threshold in fract32 form
FLOAT32 clipUpper; // Upper clipping threshold
fract32 clipUpperFract32; // Upper clipping threshold in fract32 form
} ModuleClipAsymFract32Class;
Variables
Properties
| Name | Type | Usage | isHidden | Default Value | Range | Units |
|---|---|---|---|---|---|---|
| clipLower | float | parameter | 0 | -1 | -1:1 | |
| clipLowerFract32 | fract32 | derived | 0 | -1 | Unrestricted | |
| clipUpper | float | parameter | 0 | 1 | -1:1 | |
| clipUpperFract32 | fract32 | derived | 0 | 1 | Unrestricted |
Pins
Input Pins
| Name | in |
| Description | audio input |
| Data type | fract32 |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
Output Pins
| Name | out |
| Description | audio output |
| Data Type | fract32 |
Matlab Usage
File Name: clipasym_fract32_module.m
M=clipasym_fract32_module(NAME)
Creates an assymetric clip module for use with the Audio Weaver. Arguments:
NAME - name of the module.
Copyright (c) 2026 DSP Concepts, Inc.