OpenShot Library | OpenShotAudio
0.2.2
|
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 ()=default | |
Creates an uninitialised Reverb processor. More... | |
const Parameters & | getParameters () const noexcept |
Returns the reverb's current parameters. More... | |
void | setParameters (const Parameters &newParams) |
Applies a new set of parameters to the reverb. More... | |
bool | isEnabled () const noexcept |
Returns true if the reverb is enabled. More... | |
void | setEnabled (bool newValue) noexcept |
Enables/disables the reverb. More... | |
void | prepare (const juce::dsp::ProcessSpec &spec) |
Initialises the reverb. More... | |
void | reset () noexcept |
Resets the reverb's internal state. More... | |
template<typename ProcessContext > | |
void | process (const ProcessContext &context) noexcept |
Applies the reverb to a mono or stereo buffer. More... | |
Processor wrapper around juce::Reverb for easy integration into ProcessorChain.
Definition at line 41 of file juce_dsp/processors/juce_Reverb.h.
|
default |
|
inlinenoexcept |
Returns the reverb's current parameters.
Definition at line 52 of file juce_dsp/processors/juce_Reverb.h.
References juce::Reverb::getParameters().
|
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.
Definition at line 58 of file juce_dsp/processors/juce_Reverb.h.
References juce::Reverb::setParameters().
|
inlinenoexcept |
Returns true if the reverb is enabled.
Definition at line 61 of file juce_dsp/processors/juce_Reverb.h.
|
inlinenoexcept |
Enables/disables the reverb.
Definition at line 64 of file juce_dsp/processors/juce_Reverb.h.
|
inline |
Initialises the reverb.
Definition at line 68 of file juce_dsp/processors/juce_Reverb.h.
References juce::dsp::ProcessSpec::sampleRate, and juce::Reverb::setSampleRate().
|
inlinenoexcept |
Resets the reverb's internal state.
Definition at line 74 of file juce_dsp/processors/juce_Reverb.h.
References juce::Reverb::reset().
|
inlinenoexcept |
Applies the reverb to a mono or stereo buffer.
Definition at line 82 of file juce_dsp/processors/juce_Reverb.h.
References juce::Reverb::processMono(), and juce::Reverb::processStereo().