OpenShot Library | OpenShotAudio  0.2.1
juce::dsp::Reverb Class Reference

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 ParametersgetParameters () 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...
 

Detailed Description

Processor wrapper around juce::Reverb for easy integration into ProcessorChain.

Definition at line 41 of file juce_dsp/processors/juce_Reverb.h.

Constructor & Destructor Documentation

◆ Reverb()

juce::dsp::Reverb::Reverb ( )
default

Creates an uninitialised Reverb processor.

Call prepare() before first use.

Member Function Documentation

◆ getParameters()

const Parameters& juce::dsp::Reverb::getParameters ( ) const
inlinenoexcept

Returns the reverb's current parameters.

Definition at line 52 of file juce_dsp/processors/juce_Reverb.h.

References juce::Reverb::getParameters().

◆ setParameters()

void juce::dsp::Reverb::setParameters ( const Parameters newParams)
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().

◆ isEnabled()

bool juce::dsp::Reverb::isEnabled ( ) const
inlinenoexcept

Returns true if the reverb is enabled.

Definition at line 61 of file juce_dsp/processors/juce_Reverb.h.

◆ setEnabled()

void juce::dsp::Reverb::setEnabled ( bool  newValue)
inlinenoexcept

Enables/disables the reverb.

Definition at line 64 of file juce_dsp/processors/juce_Reverb.h.

◆ prepare()

void juce::dsp::Reverb::prepare ( const juce::dsp::ProcessSpec spec)
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().

◆ reset()

void juce::dsp::Reverb::reset ( )
inlinenoexcept

Resets the reverb's internal state.

Definition at line 74 of file juce_dsp/processors/juce_Reverb.h.

References juce::Reverb::reset().

◆ process()

template<typename ProcessContext >
void juce::dsp::Reverb::process ( const ProcessContext &  context)
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().


The documentation for this class was generated from the following file: