This is an old revision of the document!
Table of Contents
Advanced Clip
Input Pins
| Name | Format [int/dec] - [control/audio] | Function Description |
|---|---|---|
| Pin 0: Input | decimal - audio | Input signal to be clipped |
Output Pins
| Name | Format [int/dec] - [control/audio] | Function Description |
|---|---|---|
| Pin 0: Output | decimal - audio | The soft-clipped output |
GUI Controls
| 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. |
DSP Parameter Information
| 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.
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 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”

