class: mSchroederReverb
schroeder-style reverb
Description
A simple Schroeder-style reverb. Doesn’t sound fantastic but is relatively cheap. Four parallel natural comb filters followed by two series allpass filters.
Template Parameters
template <class T = int32_t>T: datatype used internally in delay lines
Class Methods
Constructor
mSchroederReverb(float decay = 0.5, float damping = 0.5, float mix = 0.5)decay: decay time of reverb (0 to 1.0)
damping: sets damping within reverberation network (0 to 1.0). High values correspond to more lowpass filtering, creating a dark reverb.
mix: dry/wet mix of effect (0 to 1.0)
void setDecay(float decay)decay: decay time of reverb (0 to 1.0)
void setDamping(float damping)damping: sets damping within reverberation network (0 to 1.0). High values correspond to more lowpass filtering, creating a dark reverb.
void setMix(float mix)mix: dry/wet mix of effect (0 to 1.0)
T next(T in_sample)Example
// global declaration
mSchroederReverb my_reverb(0.5, 0.5, 0.5)
// in updateAudio
out_sample = my_reverb.next(oscillator_output); // where oscillator_output is the output of some previous sound-generating object