Processor wrapper around juce::Reverb for easy integration into ProcessorChain. More...
#include <juce_Reverb.h>
Public Types | |
using | Parameters = juce::Reverb::Parameters |
Public Member Functions | |
Reverb () | |
Creates an uninitialised Reverb processor. More... | |
const Parameters & | getParameters () const noexcept |
Returns the reverb's current parameters. More... | |
bool | isEnabled () const noexcept |
Returns true if the reverb is enabled. More... | |
void | prepare (const juce::dsp::ProcessSpec &spec) |
Initialises the reverb. More... | |
template<typename ProcessContext > | |
void | process (const ProcessContext &context) noexcept |
Applies the reverb to a mono or stereo buffer. More... | |
void | reset () noexcept |
Resets the reverb's internal state. More... | |
void | setEnabled (bool newValue) noexcept |
Enables/disables the reverb. More... | |
void | setParameters (const Parameters &newParams) |
Applies a new set of parameters to the reverb. More... | |
Private Attributes | |
bool | enabled = true |
juce::Reverb | reverb |
Processor wrapper around juce::Reverb for easy integration into ProcessorChain.
{DSP}
|
inline |
|
inlinenoexcept |
Returns the reverb's current parameters.
References juce::Reverb::getParameters(), and reverb.
|
inlinenoexcept |
Returns true if the reverb is enabled.
References enabled.
|
inline |
Initialises the reverb.
References reverb, juce::dsp::ProcessSpec::sampleRate, and juce::Reverb::setSampleRate().
|
inlinenoexcept |
Applies the reverb to a mono or stereo buffer.
References enabled, int(), jassert, jassertfalse, juce::Reverb::processMono(), juce::Reverb::processStereo(), and reverb.
|
inlinenoexcept |
Resets the reverb's internal state.
References juce::Reverb::reset(), and reverb.
|
inlinenoexcept |
Enables/disables the reverb.
References enabled.
|
inline |
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.
References reverb, and juce::Reverb::setParameters().
|
private |
Referenced by isEnabled(), process(), and setEnabled().
|
private |
Referenced by getParameters(), prepare(), process(), reset(), and setParameters().