Name | Format [int/dec] - [control/audio] | Function Description |
---|---|---|
Pin 0: Input | decimal - audio | Input signal to be clipped |
Name | Format [int/dec] - [control/audio] | Function Description |
---|---|---|
Pin 0: Output | decimal - audio | The soft-clipped output |
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
n/a | 1 | 0.1 - 0.9 | This control changes the way in which the input signal is clipped. |
GUI Control Name | Compiler Name | Function Description |
---|---|---|
n/a | SoftClipNew1tau | Used to calculate thetha |
n/a | SoftClipNew1scale | Used to calculate thetha, scale = 1/1-tau |
n/a | SoftClipNew1onemtau | See the Algorithm description for use |
n/a | SoftClipNew1p1val | Constants |
n/a | SoftClipNew1thRange1 | Constants |
Note: The SoftClipNew1p1val and SoftClipNew1thRange1 parameters do not need to change when the GUI control is updated.
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
Toolbox Path | Non Linear Processors - Clippers - Soft Clip - Standard Cubic |
Cores Supported | ADAU144x ADAU176x ADAU178x |
“Grow Algorithm” Supported | yes - see Algorithm Growth Information |
“Add Algorithm” Supported | no |
Subroutine/Loop Based | no |
Program RAM | 63* |
Data RAM | 9* |
Parameter RAM | 31* |
*Numbers are based on one instance of the algorithm with no additional “add” or “grow”