Wiki

This version (20 Dec 2016 13:04) was approved by Venkatesan Krishnamoorthy.The Previously approved version (29 Nov 2016 19:09) is available.Diff

Data controlled asymmetric soft clipper

The Data Controlled Clip is a hard-clipper that clips the input data signal using the TanH function according to threshold values set by data input pins.

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Clip Updecimal - controlThreshold clip level for the top of the waveform
Pin 1: Clip Downdecimal - controlThreshold clip level for the bottom of the waveform
Pin 2: Inputdecimal - audioInput audio to be soft clipped

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Outputdecimal - audiosoft clipped output audio

Algorithm Description

The data controlled clipper clips the input signal according to the TanH function once it crosses an upper or lower threshold boundary. The output signal will be retained within values defined by the transfer functiona and the set threshold values so long as the input signal is above the upper threshold limit- tau1, or below the lower threshold limit- tau2. For values within the threshold boundaries, the output signal will equal the input signal.


Output = Input, if |Input|<tau1 for Input>0, |Input|<tau2 for Input<0
Output = tau1 + (1 - tau1)*tanh((abs(Input) - tau1)/(1 - tau1)), if|Input|>=tau1 and Input>0
Output = -tau2 -(1 - tau2)*tanh((abs(Input) - tau2)/(1 - tau2)), if|Input|>=tau2 and Input<0




The graph below shows an input sine tone and the resulting clipped output with threshold values at: Clip Up: 0.8 Clip Down: 0.2

Example

The following image shows the Data Controlled Clip and also the direct signal coming from the Inputs.Two DC Input blocks are used to define the threshold values for the Data Controlled Clip. The output from the clip block will be the same as that of the advanced clipper, but have different ways to control the thresholds (coefficients vs. data inputs).



Algorithm Details

Toolbox PathNon Linear Processors - Clippers - Soft Clip - Asymmetric Data controlled-Data Controlled Asymmetric Clip
Cores Supported ADAU145x
“Grow Algorithm” Supportedyes - see Algorithm Growth Information
“Add Algorithm” Supportedno
Subroutine/Loop Basedno

Algorithm Growth Information

DescriptionWhen the Data Controlled Clip is grown, an extra pair of Input/Output pins is added to the control. The Clip up and Clip down pins do not grow as the same values will apply to all audio pairs grown on the control.
resources/tools-software/sigmastudio/toolbox/nonlinearprocessors/datacontrolledasymmetricclip.txt · Last modified: 15 Dec 2016 07:30 by Prasad Kamath