LMMS
Loading...
Searching...
No Matches
juce::dsp::Reverb Class Reference

#include <juce_Reverb.h>

Public Types

using Parameters = juce::Reverb::Parameters

Public Member Functions

 Reverb ()=default
const ParametersgetParameters () const noexcept
void setParameters (const Parameters &newParams)
bool isEnabled () const noexcept
void setEnabled (bool newValue) noexcept
void prepare (const ProcessSpec &spec)
void reset () noexcept
template<typename ProcessContext>
void process (const ProcessContext &context) noexcept

Private Attributes

juce::Reverb reverb
bool enabled = true

Detailed Description

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

@tags{DSP}

Member Typedef Documentation

◆ Parameters

using juce::dsp::Reverb::Parameters = juce::Reverb::Parameters

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.

◆ isEnabled()

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

Returns true if the reverb is enabled.

◆ prepare()

void juce::dsp::Reverb::prepare ( const ProcessSpec & spec)
inline

Initialises the reverb.

◆ process()

template<typename ProcessContext>
void juce::dsp::Reverb::process ( const ProcessContext & context)
inlinenoexcept

Applies the reverb to a mono or stereo buffer.

◆ reset()

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

Resets the reverb's internal state.

◆ setEnabled()

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

Enables/disables the reverb.

◆ 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.

Member Data Documentation

◆ enabled

bool juce::dsp::Reverb::enabled = true
private

◆ reverb

juce::Reverb juce::dsp::Reverb::reverb
private

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