Wiki

This version (21 Sep 2022 13:17) was approved by Angu Sewa.The Previously approved version (04 Feb 2020 10:43) is available.Diff

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

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
———————————————————— ——————-- ——————————-- —————————-
RMS Hold B/S B/S NA


Pins

Input

NameTypeDescription
————————————————————————————————————————
ResetControlReset/Hold the maximum rms value
Input XAudioInput channel X


Output

NameTypeDescription
————————————————————————————————————————
Output XAudioOutput channel X

Note:

  • X - Channel Index


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 Name Description ADSP-214xx/SC5xx/215xx ADAU145x/146x
—————————————- ——————————————————————————-- —————————————- —————————-
TimeConstantTC for RMS value compute with change in input level Float NA
LogCoeffConstant values Float NA


DSP Parameter Computation

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

resources/tools-software/sigmastudiov2/modules/basic/rmshold.txt · Last modified: 10 May 2021 06:23 by Nikhin Shetty