Wiki

This version (13 Sep 2022 11:13) was approved by Ashwin PS.

Click here to return to the Basic page

Soft Clipper - Standard Cubic


Description

The Standard Cubic block is a soft clipper that uses a cubic function to clip the level of the input signal. As the input signal reaches the clip threshold, the algorithm rounds the edges for a smoother clipped output.

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
—————————— ——————-- ——————————-- —————————-
Soft Clipper - Cubic B/S B/S S


Pins

Input

NameTypeDescription
———————- ————-- ———————-
InputX AudioInput channel X

Output

NameTypeDescription
———————- ————-- ———————-
OutputX AudioOutput channel X

Note:

  • X - Channel Index


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
—————————————- ———————- —————— —————————————-
IsLinear True True / False Allows the values in linear or DB
Alpha 1 0.1 to 10 This pre/post scalar determines the amount of clipping that will occur. Although this influences the threshold value of the clipper, this is not the value at which clipping occurs
NumChannels 120Number of input and output channels. Change in this value requires re-compilation


DSP Parameters

Parameter Name Description ADSP-214xx/SC5xx/215xx ADAU145x/146x
—————————————- ——————————————————————————-- —————————————- —————————-
Alpha Current Alpha value Float FixedPoint8d24
AlphaInv Inverse alpha value (1/Alpha) Float FixedPoint8d24

DSP Parameter Computation

Alpha = 10^(Alpha in dB / 20)

resources/tools-software/sigmastudiov2/modules/basic/standardcubicsoft.txt · Last modified: 29 Jul 2022 15:23 by Ashwin PS