Wiki

This version (15 Dec 2016 07:38) was approved by Prasad Kamath.

Data Controlled Clip

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

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: High Thresholddecimal - controlThreshold clip level for the top of the waveform
Pin 1: Low Thresholddecimal - controlThreshold clip level for the bottom of the waveform
Pin 2: Inputdecimal - audioInput audio to be hard clipped

Output Pins

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

Algorithm Description

The data controlled clipper strictly saturates the input signal once it crosses an upper or lower threshold boundary. The output signal will be retained at the threshold value so long as the input signal is above the upper threshold limit, or below the lower threshold limit. For values within the threshold boundaries, the output signal will equal the input signal.



The graph below shows an input sine tone and the resulting clipped output with threshold values at: High: 0.8 Low: -0.2



Example

The following image shows the Data Controlled Clip, being compared to a Hard Clipper and also the direct signal coming from the Inputs. A stereo switch mux allows for selection of the processing type, and then the signals are routed to the Outputs. Two DC Input blocks are used to define the threshold values for the Data Controlled Clip. They are currently set with the same values in the Hard Clip cell. The output from both clip blocks will be the same, but have different ways to control the thresholds (coefficients vs. data inputs).



Algorithm Details

Toolbox PathNon Linear Processors - Clippers - Hard Clip - Data Controlled Clip
Cores SupportedAD1940
ADAU170x
ADAU144x
ADAU176x
ADAU178x
“Grow Algorithm” Supportedyes - see Algorithm Growth Information
“Add Algorithm” Supportedno
Subroutine/Loop Basedno
Program RAM10*
Data RAM1*
Parameter RAM0

*Numbers are based on one instance of the algorithm with no additional “add” or “grow”

Algorithm Growth Information

DescriptionWhen the Data Controlled Clip is grown, an extra pair of Input/Output pins is added to the control. The High and Low Threshold pins do not grow as the same values will apply to all audio pairs grown on the control.
Program RAM Repetition10 per growth
Data RAM Repetition1 per growth
Parameter RAM Repetitionnone
resources/tools-software/sigmastudio/toolbox/nonlinearprocessors/datacontrolledclip.txt · Last modified: 15 Dec 2016 07:38 by Prasad Kamath