Implementations of Robert Brinstow Johnson's RBJ Cookbook formulae. More...
Functions | |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | lowpass (double sampleRate, SampleType cutoff, SampleType q) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | highpass (double sampleRate, SampleType cutoff, SampleType q) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | bandpass (double sampleRate, SampleType centreFrequency, SampleType bandwidth, SampleType peakGain) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | bandpass (double sampleRate, SampleType centreFrequency, SampleType bandwidth) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | notch (double sampleRate, SampleType centreFrequency, SampleType bandwidth) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | allpass (double sampleRate, SampleType cutoff, SampleType q) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | peak (double sampleRate, SampleType centreFrequency, SampleType bandwidth, SampleType dbGain) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | lowShelf (double sampleRate, SampleType centreFrequency, SampleType slope, SampleType dbGain) noexcept |
template<FloatType SampleType> | |
BiquadCoefficients< SampleType > | highShelf (double sampleRate, SampleType centreFrequency, SampleType slope, SampleType dbGain) noexcept |
Implementations of Robert Brinstow Johnson's RBJ Cookbook formulae.
|
nodiscardnoexcept |
An RBJ allpass implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
cutoff | The centre frequency of the allpass. |
q | The resonance of the allpass (0 to 1). |
|
nodiscardnoexcept |
A constant 0db peak-gain RBJ bandpass implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the bandpass. |
bandwidth | The bandwidth of the bandpass in octaves. |
|
nodiscardnoexcept |
A constant skirt-gain RBJ bandpass implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the bandpass. |
peakGain | The peak gain of the bandpass (between 0 and 1) |
|
nodiscardnoexcept |
An RBJ highpass implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
cutoff | The frequency of the highpass |
q | The resonance of the highpass (between 0 and 1) |
|
nodiscardnoexcept |
An RBJ high shelf implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the shelf. |
slope | The slope of the shelf in db/octave. At slope=1, the shelf is as steep as it can be. Should be between std::numeric_limits<SampleType>::min() , and 1`. |
dbGain | The gain of the shelf, in decibels. |
|
nodiscardnoexcept |
An RBJ lowpass implementation for use with the Biquad class, with formulae from the RBJ Cookbook
sampleRate | The sample rate to base the calculations off. |
cutoff | The frequency of the lowpass |
q | The resonance of the lowpass(between 0 and 1) |
|
nodiscardnoexcept |
An RBJ low shelf implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the shelf. |
slope | The slope of the shelf in db/octave. At slope=1, the shelf is as steep as it can be. Should be between std::numeric_limits<SampleType>::min() , and 1`. |
dbGain | The gain of the shelf, in decibels. |
|
nodiscardnoexcept |
An RBJ notch implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the notch. |
bandwidth | The bandwidth of the notch in octaves. |
|
nodiscardnoexcept |
An RBJ bell implementation for use with the Biquad class, based on the formulae from the RBJ Cookbook (https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html)
sampleRate | The sample rate to base the calculations off. |
centreFrequency | The centre frequency of the bell. |
bandwidth | The bandwidth of the bell in octaves. |
dbGain | The gain of the bell, in decibels. |