OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia::meters::rms Struct Reference

Detailed Description

Mean-square follower: a one-pole average of x^2 that reaches 99% of a step after integration seconds; level() is its square root.

With sine_referenced (AES-17), the reading is raised by 3.01 dB so that a sine reads its peak amplitude, as K-System meters do.

Public Member Functions

void prepare (double rate, double integration=0.3, bool aes17=false) noexcept
void process (const auto *in, int n) noexcept
double level () const noexcept

Public Attributes

double ms {}
double coef {}
bool sine_referenced {}