Wiki

This version (30 Jul 2012 23:17) was approved by Brett Gildersleeve.

Growable Single Volume Control

Click here to return to the Volume Controls section.

The Growable Single Vol Ctrl (or “Growable Single Volume Control”) algorithm applies gain to an input signal. The gain is updated using an RC-type slew curve. The number of input channels is scalable - each input is routed to a corresponding output pin. The same gain is applied to all input channels simultaneously.growablesinglevolumecontrol1.jpg

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Audio Inputdecimal - audioAudio Input - Channel 0

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Audio Outputdecimal - audioAudio Output - Channel 0

GUI Controls

GUI Control NameDefault ValueRangeFunction Description
Volume Slider (dB)0-144 to +24Controls the target level for the output gain

DSP Parameter Information

GUI Control NameCompiler NameFunction Description
Volume Control SliderGainS200AlgGrowDP1gain_targetTarget value for the output gain.
N/AGainS200AlgGrowDP1alphaRate at which the output gain slews to the target value. The alpha and 1-alpha values are stored in consecutive memory locations. Note: This parameter is stored in non-modulo data RAM.

Algorithm Description

The Growable Single Volume Control applies gain to any number of input signals. It is implemented using a slew curve approximating an RC curve. The same instantaneous gain value is applied to all input signals simultaneously.

This plot shows the response of an input signal when the gain is changed from zero (linear) to one (full scale, linear):
growablesinglevolumecontrol2.jpg
This plot shows the response of an input signal when the gain is changed from one (full scale, linear) to zero (linear):
growablesinglevolumecontrol3.jpg

Example

This example shows 4 digital audio channels being processed by a Growable Single Volume Control cell. When the slider is moved, the gain of all 4 channels will be uniformly changed, following an RC slew curve.
growablesinglevolumecontrol4.jpg

Algorithm Details

Toolbox PathVolume Controls - Adjustable Gain - Single/Multiple Controls - Clickless SW Slew - Growable Single Vol Ctrl
Cores SupportedADAU144x
ADAU1761
ADAU1781
“Grow Algorithm” Supportedyes - see Algorithm Growth Information
“Add Algorithm” Supportedyes - see Algorithm Addition Information
Subroutine/Loop Basedno
Program RAM7*
Data RAM3*
Parameter RAM3*

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

Algorithm Growth Information

DescriptionAn extra channel is added. The application of gain to each channel is done with the same calculation.
Program RAM Repetition2 per growth
Data RAM Repetition1 per growth
Parameter RAM Repetitionnone

Algorithm Addition Information

DescriptionAn extra channel is added. The gain calculation is done separately for each channel, so the program, data, and parameter RAM requirements double.
Program RAM Repetition7 per add
Data RAM Repetition3 per add
Parameter RAM Repetition3 per add
resources/tools-software/sigmastudio/toolbox/volumecontrols/growablesinglevolumecontrol.txt · Last modified: 30 Jul 2012 23:17 by Brett Gildersleeve