Wiki

This version (07 Jun 2023 19:50) is a draft.
Approvals: 0/1
The Previously approved version (21 Aug 2020 11:32) 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
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 abs(input) < = threshold, output = input

Else,
   	If input > 0, output = threshold*(1+tanh(theta))
        Else,
        output = - threshold*(1+tanh(theta))
  where:  theta = (abs(input)-threshold)/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.txt · Last modified: 07 Jun 2023 19:50 by Robert Blowsky