ΣSigmaStudio Русский

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.Data controlled asymmetric soft clipper

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 alt=0, |Input|
Output = tau1 + (1 - tau1)*tanh((abs(Input) - tau1)/(1 - tau1)), if|Input| alt==tau1 and Input>0" class="medialeft mathpublish" height="61" src="/lib/plugins/mathpublish/fefce1c087fe5c8650912f371fd0b5b9.png" style="display: block; object-fit: fill;" title="Output = tau1 + (1 - tau1)*tanh((abs(Input) - tau1)/(1 - tau1)), if|Input|>=tau1 and Input>0" width="601">
Output = -tau2 -(1 - tau2)*tanh((abs(Input) - tau2)/(1 - tau2)), if|Input| alt==tau2 and Input<0" class="medialeft mathpublish" height="61" src="/lib/plugins/mathpublish/a71d7fea4e35a3cf3dd03b92bc7f188f.png" style="display: block; object-fit: fill;" title="Output = -tau2 -(1 - tau2)*tanh((abs(Input) - tau2)/(1 - tau2)), if|Input|>=tau2 and Input<0" width="607">


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
Algorithm Description

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).


Example

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.Algorithm Growth Information