The two stage K-weighting filter from ITU-R BS.1770: a high shelf that models the acoustic effect of the head followed by a high pass.
More...
#include <gin_loudnessmeter.h>
|
| void | prepare (double sampleRate, int numChannels) |
| void | reset () |
| void | process (juce::AudioBuffer< float > &buffer) |
| void | process (float *samples, int numSamples, int channel) |
| int | getNumChannels () const |
The two stage K-weighting filter from ITU-R BS.1770: a high shelf that models the acoustic effect of the head followed by a high pass.
Processes audio in place, one filter state per channel.
◆ stage1Coefficients()
| Coefficients KWeightingFilter::stage1Coefficients |
( |
double | sampleRate | ) |
|
|
static |
The pre-filter (high shelf) for a given sample rate.
◆ stage2Coefficients()
| Coefficients KWeightingFilter::stage2Coefficients |
( |
double | sampleRate | ) |
|
|
static |
The RLB weighting (high pass) for a given sample rate.
◆ prepare()
| void KWeightingFilter::prepare |
( |
double | sampleRate, |
|
|
int | numChannels ) |
◆ reset()
| void KWeightingFilter::reset |
( |
| ) |
|
◆ process() [1/2]
| void KWeightingFilter::process |
( |
juce::AudioBuffer< float > & | buffer | ) |
|
◆ process() [2/2]
| void KWeightingFilter::process |
( |
float * | samples, |
|
|
int | numSamples, |
|
|
int | channel ) |
◆ getNumChannels()
| int KWeightingFilter::getNumChannels |
( |
| ) |
const |
The documentation for this class was generated from the following file: