fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
fsh::fx::FDNReverb Class Reference

Ambisonic FDN reverb algorithm. More...

#include <FDNReverb.h>

Classes

struct  Params
 Parameters for the FDN reverb algorithm. More...
 

Public Types

enum class  Preset { Off = 0 , Earth , Metal , Sky }
 Presets for the FDN reverb algorithm. More...
 

Public Member Functions

 FDNReverb ()
 Default constructor.
 
void setParams (const Params &)
 Set the parameters for the FDN reverb algorithm directly.
 
void setPreset (Preset)
 Set the parameters for the FDN reverb algorithm using a preset.
 
void setSampleRate (double)
 Set the sample rate. Must be called before calling process().
 
void process (juce::AudioBuffer< float > &)
 Apply the FDN reverb algorithm to the given ambisonic audio buffer.
 
void reset ()
 Clear the delay buffers.
 

Static Public Attributes

static constexpr size_t fdnSize = 64
 The number of delay lines in the FDN.
 

Detailed Description

Ambisonic FDN reverb algorithm.

This class takes a JUCE AudioBuffer object in the ambisonic domain and applies the FDN reverb algorithm in-place using the process() method.

Note that you must call setSampleRate() before calling process() for the first time.

‍This class is a refactoring of code from the IEM Plugin Suite.

Member Enumeration Documentation

◆ Preset

enum class fsh::fx::FDNReverb::Preset
strong

Presets for the FDN reverb algorithm.

Enumerator
Off 

No reverb.

Earth 

Small room with a short reverberation time.

Metal 

Medium-sized room with a medium reverberation time.

Sky 

Large room with a long reverberation time.


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