tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::engine::RunningRMS Class Reference

Calculates the RMS of a continuous signal. More...

Public Member Functions

 RunningRMS ()=default
 Creates an empty RunningRMS.
 
void setSampleRate (float newSampleRate) noexcept
 Sets the sample rate to use for detection.
 
float processSingleSample (float in) noexcept
 Returns the current RMS for a new input sample.
 

Detailed Description

Calculates the RMS of a continuous signal.

N.B. this isn't a mathematically correct RMS but a reasonable estimate.

Definition at line 19 of file tracktion_EnvelopeFollowerModifier.cpp.

Member Function Documentation

◆ processSingleSample()

float tracktion::engine::RunningRMS::processSingleSample ( float  in)
noexcept

Returns the current RMS for a new input sample.

Definition at line 33 of file tracktion_EnvelopeFollowerModifier.cpp.

◆ setSampleRate()

void tracktion::engine::RunningRMS::setSampleRate ( float  newSampleRate)
noexcept

Sets the sample rate to use for detection.

Definition at line 26 of file tracktion_EnvelopeFollowerModifier.cpp.


The documentation for this class was generated from the following file: