Wiki

This version is outdated by a newer approved version.DiffThis version (14 Jan 2020 07:23) is a draft.
Approvals: 0/1

This is an old revision of the document!


Click here to return to the Dynamic Processors page

Peak w/Ext Detector

Description

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

Targets Supported

NameADSP-214xx(Sample)ADSP-214xx(Block)ADSP-215xx/ADSP-SC5xx(Sample)ADSP-215xx/ADSP-SC5xx(Block)
Peak w/Ext Detector Yes YesYes Yes


Pins

Input

NameTypeDescription
ExtDetectorInputControlPeak input for the compressor
Input1AudioInput channel1

Output

NameTypeDescription
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. Typically it sounds better. If it is not activated, the default is hard-knee behavior, meaning compression reduces signal level immediately when the threshold is passed.
TableAll values are 1-Table values are the gain points used to apply for input signal level
IsDBpsTrueTrue/False Enabled /Disabled the control Decay either in dB or linear
NumChannels11 to 20Number of input and output channels. Change in this value requires re-compilation


DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xx
HoldHold valueFloat
DecayDecay valueFloat
TableTable values Float

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/peakwithexternaldetectorinput.1578982983.txt.gz · Last modified: 14 Jan 2020 07:23 by Sanjeeva Reddy