DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::AlgorithmicReverb< T >::Wall Struct Reference

Hermite-interpolated random noise generator for organic modulation. More...

#include <AlgorithmicReverb.h>

Collaboration diagram for dspark::AlgorithmicReverb< T >::Wall:

Public Types

using Cascade = BiquadCascade< T, kSections, 2 >
 

Public Member Functions

void prepare (double sampleRate)
 
void reset () noexcept
 
bool active () const noexcept
 
void retarget (double want) noexcept
 The corner wanted now (0 = off); a fade under way finishes first.
 
void frame (T &l, T &r) noexcept
 

Public Attributes

Cascade bank [2]
 
double rate = 48000.0
 
double hz = 0.0
 
double fade = 1.0
 
double step = 0.0
 
int live = 0
 
bool fromOn = false
 
bool toOn = false
 

Static Public Attributes

static constexpr int kSections = 6
 

Detailed Description

template<FloatType T>
struct dspark::AlgorithmicReverb< T >::Wall

Hermite-interpolated random noise generator for organic modulation.

Band-limited random values via cubic Hermite (Catmull-Rom) interpolation between xorshift32 random targets: smooth, non-periodic modulation. The band limit: an elliptic wall on the wet pair, in double, in two banks faded over 20 ms when the corner moves.

Definition at line 1687 of file AlgorithmicReverb.h.

Member Typedef Documentation

◆ Cascade

template<FloatType T>
using dspark::AlgorithmicReverb< T >::Wall::Cascade = BiquadCascade<T, kSections, 2>

Definition at line 1690 of file AlgorithmicReverb.h.

Member Function Documentation

◆ active()

template<FloatType T>
bool dspark::AlgorithmicReverb< T >::Wall::active ( ) const
inlinenoexcept

Definition at line 1713 of file AlgorithmicReverb.h.

◆ frame()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Wall::frame ( T &  l,
T &  r 
)
inlinenoexcept

Definition at line 1739 of file AlgorithmicReverb.h.

◆ prepare()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Wall::prepare ( double  sampleRate)
inline

Definition at line 1692 of file AlgorithmicReverb.h.

◆ reset()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Wall::reset ( )
inlinenoexcept

Definition at line 1706 of file AlgorithmicReverb.h.

◆ retarget()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Wall::retarget ( double  want)
inlinenoexcept

The corner wanted now (0 = off); a fade under way finishes first.

Definition at line 1716 of file AlgorithmicReverb.h.

Member Data Documentation

◆ bank

template<FloatType T>
Cascade dspark::AlgorithmicReverb< T >::Wall::bank[2]

Definition at line 1757 of file AlgorithmicReverb.h.

◆ fade

template<FloatType T>
double dspark::AlgorithmicReverb< T >::Wall::fade = 1.0

Definition at line 1758 of file AlgorithmicReverb.h.

◆ fromOn

template<FloatType T>
bool dspark::AlgorithmicReverb< T >::Wall::fromOn = false

Definition at line 1760 of file AlgorithmicReverb.h.

◆ hz

template<FloatType T>
double dspark::AlgorithmicReverb< T >::Wall::hz = 0.0

Definition at line 1758 of file AlgorithmicReverb.h.

◆ kSections

template<FloatType T>
constexpr int dspark::AlgorithmicReverb< T >::Wall::kSections = 6
staticconstexpr

Definition at line 1689 of file AlgorithmicReverb.h.

◆ live

template<FloatType T>
int dspark::AlgorithmicReverb< T >::Wall::live = 0

Definition at line 1759 of file AlgorithmicReverb.h.

◆ rate

template<FloatType T>
double dspark::AlgorithmicReverb< T >::Wall::rate = 48000.0

Definition at line 1758 of file AlgorithmicReverb.h.

◆ step

template<FloatType T>
double dspark::AlgorithmicReverb< T >::Wall::step = 0.0

Definition at line 1758 of file AlgorithmicReverb.h.

◆ toOn

template<FloatType T>
bool dspark::AlgorithmicReverb< T >::Wall::toOn = false

Definition at line 1760 of file AlgorithmicReverb.h.


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