LMMS
Loading...
Searching...
No Matches
dsp::riaacurve Class Reference

#include <loudness.h>

Public Member Functions

 riaacurve ()
float process (float sample)
 Produce one output sample from one input sample.
void set (float sr, int mode, int type)
 Set sample rate (updates filter coefficients).
void sanitize ()
 Reset to zero if at risk of denormals.
void reset ()
 Reset state to zero.
float freq_gain (float freq, float sr) const
 Gain and a given frequency.

Public Attributes

biquad_d2 r1
biquad_d2 brickw
bool use_brickw

Constructor & Destructor Documentation

◆ riaacurve()

dsp::riaacurve::riaacurve ( )
inline

Member Function Documentation

◆ freq_gain()

float dsp::riaacurve::freq_gain ( float freq,
float sr ) const
inline

Gain and a given frequency.

◆ process()

float dsp::riaacurve::process ( float sample)
inline

Produce one output sample from one input sample.

◆ reset()

void dsp::riaacurve::reset ( )
inline

Reset state to zero.

◆ sanitize()

void dsp::riaacurve::sanitize ( )
inline

Reset to zero if at risk of denormals.

◆ set()

void dsp::riaacurve::set ( float sr,
int mode,
int type )
inline

Set sample rate (updates filter coefficients).

Member Data Documentation

◆ brickw

biquad_d2 dsp::riaacurve::brickw

◆ r1

biquad_d2 dsp::riaacurve::r1

◆ use_brickw

bool dsp::riaacurve::use_brickw

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