Wiki

This version (25 Jun 2012 22:10) was approved by William Jahn.The Previously approved version (25 Jun 2012 22:07) is available.Diff

Standard Peak

Click here to return to the Dynamics Processors page


The Standard Peak Compressor is a stereo compressor that allows direct control over threshold and ratio. In the pop-up GUI, graphical controls are given for threshold, ratio, and time constants. Also there are visual indicators showing input, output, and compression levels. The detection signal used for this Peak compressor is based on the sum of Left and Right channels.

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Audio Input Ldecimal - audioLeft Channel audio input
Pin 1: Audio Input Rdecimal - audioRight Channel audio input

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Audio Output Ldecimal - audioLeft Channel compressed Audio Output
Pin 0: Audio Output Rdecimal - audioRight Channel compressed Audio Output

GUI Controls

*The GUI Controls for this block exist on another window. Click on the Compressor icon to open the following Compressor window that contains the following Compressor controls:



GUI Control NameDefault ValueRangeFunction Description
Threshold (dB)0-96Controls the threshold point of compression/expansion.
Compressor100100 - 1Controls the ratio of Compression. The number selected in this box is interpreted as the ratio N:1 for compression above the threshold point.
Expander1100 - 1Controls the ratio of Downward Expansion. The number selected in this box is interpreted as the ratio N:1 for downward expansion below the threshold point.
Knee11 - 100Controls the hard/soft knee relationship of the curve. A knee allows a more gradual calculation of the curve around the threshold point, with “1” being a hard knee, and “100” being the softest.
Input Gain (dB)0-96Controls a gain that is applied to both Left and Right prior to the compression. Allows for the curve to be shifted left and right.
Attack (ms)721- 500Controls the amount of time before the compressor reacts to an input signal that has exceeded the threshold point.
Hold (ms)00 - AttackControls the amount of time the compression level is held before reacting to a new change in input signal level. The max hold time is limited to the Attack time setting.
Release (ms)868Jan-00Controls the amount of time before the compressor reacts to an input signal that has dropped below the threshold point.
Level Indicatorsoffon/offTurns the Indicators on or off. There is no DSP function associated with this.

DSP Parameter Information

GUI Control NameCompiler NameFunction Description
Threshold
Compressor
Expander
Knee
StdPeakCompressorAlg1When the Threshold, Compressor, Expander, or Knee values are changed, 34 parameters are written to the DSP to represent the gain curve displayed in the window.
Input GainStdPeakCompressorAlg1attenuationWhen the Input Gain is changed, the dB value is converted to linear and written to the DSP.
AttackStdPeakCompressorAlg1PeakWhen the Attack time is changed, a new value is calculated and written to the DSP to control the reaction time.
HoldStdPeakCompressorAlg1holdWhen the Hold time is changed, a new value is calculated and written tot he DSP to control the hold time.
DecayStdPeakCompressorAlg1decayWhen the Decay time is changed, a new value is calculated and written to the DSP to control the reaction time.

Algorithm Description

The Standard Peak Compressor is meant to function like most other SigmaStudio peak compressors. The performance and main algorithm driving the Standard Peak is the same as the other compressors in the same library folder (Peak - Standard Resolution - Lower Range). The main differences are outlined here:

  • Compression Curve control over threshold and ratio vs. 33 customizable points
  • Attack/Decay time constant control in (ms) vs. (dB/s)
  • Visual Indicators of Input, Output, and Compression levels vs. no visual indicators
  • Fine Tune controls of Knee vs. Soft/Hard boolean control
  • Fixed Detection method vs. Ext/No-Ext Detection method *

*The Standard Peak Compressor is a stereo compressor with the detection method tied directly to the inputs. Thus the detection signal used to drive the compression is: Input Gain * (L + R)/2. There is no choice for an external signal to drive the compression. This detection method is the same as selecting “No External Detection” on other compressors in the same library folder.

If independent control of the detection method is desired for compression, the Standard Independent Peak compressor should be used. This allows different functionality to link or unlink the detection method for left and right channels.

Example

This is an example of the compressor being used directly on the input signal. The compressor is connected to an external Volume Control for a post gain level before sending to the outputs.



Algorithm Details

Toolbox PathPeak - Standard Resolution - Lower Range - Standard Peak
Cores SupportedADAU144x
ADAU176x
ADAU178x
“Grow Algorithm” Supportedno
“Add Algorithm” Supportedno
Subroutine/Loop Basedno
Program RAM60
Data RAM16
Parameter RAM43
resources/tools-software/sigmastudio/toolbox/dynamicsprocessors/standardpeak.txt · Last modified: 25 Jun 2012 22:10 by William Jahn