This version (18 May 2021 08:58) was approved by John Joseph.The Previously approved version (15 Jan 2021 10:59) is available.Diff

Click here to return to the Dynamic Processors page

Peak Compressor


The Peak Compressor block computes the peak level of the input signal, if peak of the signal is more than the threshold level, signal level immediately changes to new peak level and if the peak level is below the threshold level, it slowly reaches the new peak level by accounting to the hold and decay time.


  1. Peak Compressor
  2. Peak Compressor with Gain Out

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
——————————————————-- —————————- ——————————-- —————————-
Peak Compressor B/S B/S S
Peak Compressor with Gain Out NA NA S



————————————— —————————— ————————————————
Input1AudioInput channel1


————————————— —————————— ————————————————
Output1AudioOutput channel1

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
———————————————- —————————- ————————————- —————————————————————-
Hold0 ms0 to 2000 msControls the time (in ms) the compressor maintains its current output gain setting before it starts decreasing as the input level decrease.
Decay 10 dB/s 0 to 10000 dB/sControls the rate at which the compressor gain decreases in response to decrease in the input signal level, e.g. the “Release” time.
SoftKneeFalseTrue/FalseSoft-knee lets the compressor ease into action, making a less-abrupt change from unprocessed signal to compressed signal. If it is not activated, the default is hard-knee behavior, in which compression rate reduces or increases abruptly with the threshold level
TableAll values are 1 by default-Table values are the output to input gain level points
IsDBpsTrueTrue/False Enable /Disable the Control Decay to be either in dB or linear scale
NumChannels11 to 20Number of input and/or output channels. Change in this value requires re-compilation

DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xx ADAU145x/146x
—————————— —————————————— ——————————————- ———————————————-
HoldHold valueFloat 8.24 format
DecayDecay valueFloat 8.24 format
TableTable values Float 8.24 format

DSP Parameter Computation

Decay = (20000/Decay)/(FS + 0.0000001) (When Decay is in dBps) or Decay/(FS + 0.0000001) (When Decay is in linear) Hold = FS * Hold/1000
Where FS is the sampling rate

resources/tools-software/sigmastudiov2/modules/dynamicsprocessors/peakcompressor.txt · Last modified: 12 May 2021 09:35 by John Joseph