Wiki

The most recent version of this page is a draft.DiffThis version is outdated by a newer approved version.DiffThis version (21 Aug 2020 11:25) was approved by Sanjeeva Reddy.The Previously approved version (15 Dec 2016 07:41) is available.Diff

This is an old revision of the document!


Advanced Clip

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
n/aSoftClipNew1p1valConstants
n/aSoftClipNew1thRange1Constants

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
ADAU176x
ADAU178x
“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.1598001896.txt.gz · Last modified: 21 Aug 2020 11:24 by Sanjeeva Reddy