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

#include <loudness.h>

Public Member Functions

float process (float sample)
 Produce one output sample from one input sample.
void set (float sr)
 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)
 Gain and a given frequency.

Public Attributes

biquad_d2 bq1
biquad_d2 bq2
biquad_d2 bq3

Member Function Documentation

◆ freq_gain()

float dsp::aweighter::freq_gain ( float freq,
float sr )
inline

Gain and a given frequency.

◆ process()

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

Produce one output sample from one input sample.

◆ reset()

void dsp::aweighter::reset ( )
inline

Reset state to zero.

◆ sanitize()

void dsp::aweighter::sanitize ( )
inline

Reset to zero if at risk of denormals.

◆ set()

void dsp::aweighter::set ( float sr)
inline

Set sample rate (updates filter coefficients).

Member Data Documentation

◆ bq1

biquad_d2 dsp::aweighter::bq1

◆ bq2

biquad_d2 dsp::aweighter::bq2

◆ bq3

biquad_d2 dsp::aweighter::bq3

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