Wiki

The most recent version of this page is a draft.DiffThis version (10 Feb 2021 13:07) was approved by Sanjeeva Reddy.

This is an old revision of the document!


Click here to return to the Basic page

RMS Table

Description

The RMS Table takes an input signal and outputs the interpolated mapped value of the signal, relative to the table, depending on the calculated rms input. The block uses rms average values and maps them to the user-selectable table values, employing linear interpolation in between table values.

Usage

To edit the table values click on the showtable button and it will open the RMS Table Editor window to configure the table values.

Targets Supported

NameADSP-214xx(Sample)ADSP-214xx(Block)ADSP-215xx/ADSP-SC5xx(Sample)ADSP-215xx/ADSP-SC5xx(Block)
RMS Table Yes YesYes Yes

Pins

Input

Input0AudioInput Channel 0

Output

Output0ControlOutput channel 0

Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
RmsTC70 dB/s10 to 10000 dB/sControls the time constant used for calculating the RMS value. This determines how rapidly the gain will adapt to changes in the input level; this is also called the attack time.
Hold0 ms0 to 2000 msControls the time the RMS average holds its current output setting before it detects a lower value and starts ramping down.
Decay4 dB/s0 to 20 dB/s Controls the rate at which the output signal returns to a lower detected level. Decay is responsible for releasing the signal at a given rate. This is also referred to as the release time.
TableValues User-configurable values

DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xx
RmsTCControls the time constant used for calculating the RMS value. This determines how rapidly the gain will adapt to changes in the input level; this is also called the attack time.Float
HoldControls the time the RMS average holds its current output setting before it detects a lower value and starts ramping down.Float
DecayControls the rate at which the output signal returns to a lower detected level. Decay is responsible for releasing the signal at a given rate. This is also referred to as the release time.Float
TableValuesTable ValuesFloat

DSP Parameter Computation

RmsTC = Abs(1-(10)^(RmsTC/(10*(FS+0.000001) )))
Hold= Hold*FS /1000
Decay = Decay/ (FS + 0.000001)

/srv/wiki.analog.com/data/pages/resources/tools-software/sigmastudiov2/modules/basic/rmstable.txt · Last modified: 12 May 2021 17:00 by Nikhin Shetty