#include <juce_audio_basics.h>
Performs a simple reverb effect on a stream of audio data.
This is a simple stereo reverb, based on the technique and tunings used in FreeVerb. Use setSampleRate() to prepare it, and then call processStereo() or processMono() to apply the reverb to your audio data.
- See also
- ReverbAudioSource
Returns the reverb's current parameters.
void juce::Reverb::processMono |
( |
float *const |
samples, |
|
|
const int |
numSamples |
|
) |
| |
|
inlinenoexcept |
Applies the reverb to a single mono channel of audio data.
void juce::Reverb::processStereo |
( |
float *const |
left, |
|
|
float *const |
right, |
|
|
const int |
numSamples |
|
) |
| |
|
inlinenoexcept |
Applies the reverb to two stereo channels of audio data.
void juce::Reverb::reset |
( |
| ) |
|
|
inline |
Clears the reverb's buffers.
Applies a new set of parameters to the reverb. Note that this doesn't attempt to lock the reverb, so if you call this in parallel with the process method, you may get artifacts.
void juce::Reverb::setSampleRate |
( |
const double |
sampleRate | ) |
|
|
inline |
Sets the sample rate that will be used for the reverb. You must call this before the process methods, in order to tell it the correct sample rate.
The documentation for this class was generated from the following file: