ClipAsymInt32
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 = 243
Type Definition
typedef struct _ModuleClipAsymInt32
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 clipLower; // Lower clipping threshold
INT32 clipUpper; // Upper clipping threshold
} ModuleClipAsymInt32Class;
Variables
Properties
| Name | Type | Usage | isHidden | Default Value | Range | Units |
|---|---|---|---|---|---|---|
| clipLower | int | parameter | 0 | -2147483648 | -2147483648:2147483647 | |
| clipUpper | int | parameter | 0 | 2147483647 | -2147483648:2147483647 |
Pins
Input Pins
| Name | in |
| Description | audio input |
| Data type | int |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
Output Pins
| Name | out |
| Description | audio output |
| Data Type | int |
Matlab Usage
File Name: clipasym_int32_module.m
M=clipasym_int32_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.