Allolib
1.0
C++ Components For Interactive Multimedia
|
Plate reverberator. More...
Classes | |
class | OnePole |
Public Member Functions | |
Reverb & | bandwidth (T v) |
Set input signal bandwidth, in [0,1]. More... | |
Reverb & | damping (T v) |
Set high-frequency damping amount, in [0, 1]. More... | |
Reverb & | decay (T v) |
Set decay factor, in [0, 1) | |
Reverb & | diffusion (T in1, T in2, T decay1, T decay2) |
Set diffusion amounts, in [0, 1) More... | |
Reverb & | diffusionIn1 (T v) |
Set input diffusion 1 amount, [0,1) | |
Reverb & | diffusionIn2 (T v) |
Set input diffusion 2 amount, [0,1) | |
Reverb & | diffusionDecay1 (T v) |
Set tank decay diffusion 1 amount, [0,1) | |
Reverb & | diffusionDecay2 (T v) |
Set tank decay diffusion 2 amount, [0,1) | |
void | operator() (T in, T &out1, T &out2, T gain=T(0.6)) |
Compute wet stereo output from dry mono input. More... | |
T | mix (T &inout1, T &out2, T wetAmt) |
Compute wet/dry mix stereo output from dry mono input. More... | |
void | zero () |
Protected Attributes | |
T | mDfIn1 |
T | mDfIn2 |
T | mDfDcy1 |
T | mDfDcy2 |
T | mDecay |
StaticDelayLine< 10, T > | mPreDelay |
OnePole | mOPIn |
StaticDelayLine< 142, T > | mAPIn1 |
StaticDelayLine< 107, T > | mAPIn2 |
StaticDelayLine< 379, T > | mAPIn3 |
StaticDelayLine< 277, T > | mAPIn4 |
StaticDelayLine< 672, T > | mAPDecay11 |
StaticDelayLine< 1800, T > | mAPDecay12 |
StaticDelayLine< 4453, T > | mDly11 |
StaticDelayLine< 3720, T > | mDly12 |
OnePole | mOP1 |
StaticDelayLine< 908, T > | mAPDecay21 |
StaticDelayLine< 2656, T > | mAPDecay22 |
StaticDelayLine< 4217, T > | mDly21 |
StaticDelayLine< 3163, T > | mDly22 |
OnePole | mOP2 |
Plate reverberator.
Design from: Dattorro, J. (1997). Effect design: Part 1: Reverberator and other filters. Journal of the Audio Engineering Society, 45(9):660-684. https://ccrma.stanford.edu/~dattorro/EffectDesignPart1.pdf
Definition at line 133 of file al_Reverb.hpp.
|
inline |
Set input signal bandwidth, in [0,1].
This sets the cutoff frequency of a one-pole low-pass filter on the input signal.
Definition at line 146 of file al_Reverb.hpp.
|
inline |
Set high-frequency damping amount, in [0, 1].
Higher amounts will dampen the diffusive sound more quickly. Note: values in [-1, 0] create an inverse effect that attentuates low rather than high frequencies.
Definition at line 156 of file al_Reverb.hpp.
|
inline |
Set diffusion amounts, in [0, 1)
Values near 0.7 are recommended. Moving further away from 0.7 will lead to more distinct echoes.
Definition at line 172 of file al_Reverb.hpp.
|
inline |
Compute wet/dry mix stereo output from dry mono input.
[in,out] | inout1 | the input sample and wet/dry output 1 |
[out] | out2 | wet/dry output 2 |
[in] | wetAmt | wet mix amount |
Definition at line 250 of file al_Reverb.hpp.
|
inline |
Compute wet stereo output from dry mono input.
[in] | in | dry input sample |
[out] | out1 | wet output sample 1 |
[out] | out2 | wet output sample 2 |
[in] | gain | gain of output |
Definition at line 210 of file al_Reverb.hpp.