Wiki

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

This is an old revision of the document!


Click here to return to the Arithmetic and Logic page

RMS Hold


Description

The RMS Hold block computes the RMS of the input signals with time constant specified in the text field and holds the maximum value. Hold/Reset the maximum rms value is controlled by the external input pin.

Targets Supported

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


Pins

Input

NameTypeDescription
ResetControlReset/Hold the maximum rms value
Input0AudioInput channel 10


Output

NameTypeDescription
Output0AudioOutput channel 0


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
TimeConstant1211-8686Determines how rapidly the RMS value compute with change in input level
IsDBpsFalseTruie/FalseControl value is in dB/s or ms
NumChannels120Number of input and Output channels. Change in this value requires re-compilation


DSP Parameters

Parameter NameDescriptionADSP-214xx/215xx/SC5xx
TimeConstantTC for RMS value compute with change in input levelFloat
LogCoeffConstant valuesFloat


DSP Parameter Computation

TimeConstant = ABS(1-10^(TimeConstant(linear)/(10*FS))) Where FS is the Sampling rate

/srv/wiki.analog.com/data/pages/resources/tools-software/sigmastudiov2/modules/basic/rmshold.txt · Last modified: 10 May 2021 06:23 by Nikhin Shetty