This version (21 Aug 2020 11:32) was approved by Sanjeeva Reddy.The Previously approved version (21 Aug 2020 11:24) is available.Diff

Advanced Clip

Click here to return to the Non Linear Processors page

The Advanced Clip cell takes an input signal and rounds its edges to avoid clipping at large signal levels. As the input signal reaches the clip threshold, the algorithm rounds the edges for a smoother clipped output.

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Inputdecimal - audioInput signal to be clipped

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Outputdecimal - audioThe soft-clipped output

GUI Controls

GUI Control NameDefault ValueRangeFunction Description
n/a10.1 - 0.9This control changes the way in which the input signal is clipped.

DSP Parameter Information

GUI Control NameCompiler NameFunction Description
n/aSoftClipNew1tauUsed to calculate thetha
n/aSoftClipNew1scaleUsed to calculate thetha, scale = 1/1-tau
n/aSoftClipNew1onemtauSee the Algorithm description for use

Note: The SoftClipNew1p1val and SoftClipNew1thRange1 parameters do not need to change when the GUI control is updated.

Algorithm Description

The input is compared with the threshold value, if input is less than threshold the input is pass trough to output. If input is greater than or equal to threshold then (In * threshold + (1 - threshold) * tanh(thetha)).

Where thetha = abs(in)- threshold / 1 - threshold.

Algorithm Details

Toolbox PathNon Linear Processors - Clippers - Soft Clip - Standard Cubic
Cores SupportedADAU144x
“Grow Algorithm” Supportedyes - see Algorithm Growth Information
“Add Algorithm” Supportedno
Subroutine/Loop Basedno
Program RAM63*
Data RAM9*
Parameter RAM31*

*Numbers are based on one instance of the algorithm with no additional “add” or “grow”

Algorithm Growth Information

DescriptionWhen the Advanced Clip algorithm is grown, an extra pair of input/output pints is added to the control. The same clipping parameter affects the clipping on grown Input pins.
Program RAM Repetition63 per growth
Data RAM Repetition1 per growth
Parameter RAM Repetitionnone
resources/tools-software/sigmastudio/toolbox/nonlinearprocessors/advancedclip.txt · Last modified: 21 Aug 2020 11:32 by Sanjeeva Reddy