Skip to content

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.

Module Pack

Standard

ClassID

classID = 78

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. 

Copyright (c) 2026 DSP Concepts, Inc.