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

#include <AlgorithmicReverb.h>

Public Member Functions

int at (double samples29k) const noexcept
 

Public Attributes

std::array< Line, 2 > ap1
 
std::array< Line, 2 > d1
 
std::array< Line, 2 > ap2
 
std::array< Line, 2 > d2
 
std::array< int, 2 > lAp1 {}
 
std::array< int, 2 > lD1 {}
 
std::array< int, 2 > lAp2 {}
 
std::array< int, 2 > lD2 {}
 
std::array< T, 2 > gain {}
 
std::array< T, 2 > lp {}
 
T damp = T(0)
 
double excursion = 0.0
 
double phase = 0.0
 
double phaseStep = 0.0
 
double loopSec = 0.0
 Mean branch length.
 
double scale = 1.0
 The rate over Dattorro's.
 
bool on = false
 

Static Public Attributes

static constexpr double kRate = 29761.0
 
static constexpr std::array< int, 2 > kAp1 { 672, 908 }
 
static constexpr std::array< int, 2 > kD1 { 4453, 4217 }
 
static constexpr std::array< int, 2 > kAp2 { 1800, 2656 }
 
static constexpr std::array< int, 2 > kD2 { 3720, 3163 }
 
static constexpr double kExcursion = 16.0
 Of the modulated all-passes at full modulation.
 
static constexpr T kDiffusion1 = T(-0.7)
 
static constexpr T kDiffusion2 = T(0.5)
 

Detailed Description

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

The plate's own tank: Dattorro's figure-eight (lengths at 29761 Hz, scaled to the rate). Branch 0 is the left one of his figure.

Definition at line 1782 of file AlgorithmicReverb.h.

Member Function Documentation

◆ at()

template<FloatType T>
int dspark::AlgorithmicReverb< T >::PlateTank::at ( double  samples29k) const
inlinenoexcept

Definition at line 1797 of file AlgorithmicReverb.h.

Member Data Documentation

◆ ap1

template<FloatType T>
std::array<Line, 2> dspark::AlgorithmicReverb< T >::PlateTank::ap1

Definition at line 1788 of file AlgorithmicReverb.h.

◆ ap2

template<FloatType T>
std::array<Line, 2> dspark::AlgorithmicReverb< T >::PlateTank::ap2

Definition at line 1788 of file AlgorithmicReverb.h.

◆ d1

template<FloatType T>
std::array<Line, 2> dspark::AlgorithmicReverb< T >::PlateTank::d1

Definition at line 1788 of file AlgorithmicReverb.h.

◆ d2

template<FloatType T>
std::array<Line, 2> dspark::AlgorithmicReverb< T >::PlateTank::d2

Definition at line 1788 of file AlgorithmicReverb.h.

◆ damp

template<FloatType T>
T dspark::AlgorithmicReverb< T >::PlateTank::damp = T(0)

Definition at line 1791 of file AlgorithmicReverb.h.

◆ excursion

template<FloatType T>
double dspark::AlgorithmicReverb< T >::PlateTank::excursion = 0.0

Definition at line 1792 of file AlgorithmicReverb.h.

◆ gain

template<FloatType T>
std::array<T, 2> dspark::AlgorithmicReverb< T >::PlateTank::gain {}

Definition at line 1790 of file AlgorithmicReverb.h.

◆ kAp1

template<FloatType T>
constexpr std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::kAp1 { 672, 908 }
staticconstexpr

Definition at line 1785 of file AlgorithmicReverb.h.

◆ kAp2

template<FloatType T>
constexpr std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::kAp2 { 1800, 2656 }
static

Definition at line 1785 of file AlgorithmicReverb.h.

◆ kD1

template<FloatType T>
constexpr std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::kD1 { 4453, 4217 }
static

Definition at line 1785 of file AlgorithmicReverb.h.

◆ kD2

template<FloatType T>
constexpr std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::kD2 { 3720, 3163 }
static

Definition at line 1785 of file AlgorithmicReverb.h.

◆ kDiffusion1

template<FloatType T>
constexpr T dspark::AlgorithmicReverb< T >::PlateTank::kDiffusion1 = T(-0.7)
staticconstexpr

Definition at line 1787 of file AlgorithmicReverb.h.

◆ kDiffusion2

template<FloatType T>
constexpr T dspark::AlgorithmicReverb< T >::PlateTank::kDiffusion2 = T(0.5)
static

Definition at line 1787 of file AlgorithmicReverb.h.

◆ kExcursion

template<FloatType T>
constexpr double dspark::AlgorithmicReverb< T >::PlateTank::kExcursion = 16.0
staticconstexpr

Of the modulated all-passes at full modulation.

Definition at line 1786 of file AlgorithmicReverb.h.

◆ kRate

template<FloatType T>
constexpr double dspark::AlgorithmicReverb< T >::PlateTank::kRate = 29761.0
staticconstexpr

Definition at line 1784 of file AlgorithmicReverb.h.

◆ lAp1

template<FloatType T>
std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::lAp1 {}

Definition at line 1789 of file AlgorithmicReverb.h.

◆ lAp2

template<FloatType T>
std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::lAp2 {}

Definition at line 1789 of file AlgorithmicReverb.h.

◆ lD1

template<FloatType T>
std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::lD1 {}

Definition at line 1789 of file AlgorithmicReverb.h.

◆ lD2

template<FloatType T>
std::array<int, 2> dspark::AlgorithmicReverb< T >::PlateTank::lD2 {}

Definition at line 1789 of file AlgorithmicReverb.h.

◆ loopSec

template<FloatType T>
double dspark::AlgorithmicReverb< T >::PlateTank::loopSec = 0.0

Mean branch length.

Definition at line 1793 of file AlgorithmicReverb.h.

◆ lp

template<FloatType T>
std::array<T, 2> dspark::AlgorithmicReverb< T >::PlateTank::lp {}

Definition at line 1790 of file AlgorithmicReverb.h.

◆ on

template<FloatType T>
bool dspark::AlgorithmicReverb< T >::PlateTank::on = false

Definition at line 1795 of file AlgorithmicReverb.h.

◆ phase

template<FloatType T>
double dspark::AlgorithmicReverb< T >::PlateTank::phase = 0.0

Definition at line 1792 of file AlgorithmicReverb.h.

◆ phaseStep

template<FloatType T>
double dspark::AlgorithmicReverb< T >::PlateTank::phaseStep = 0.0

Definition at line 1792 of file AlgorithmicReverb.h.

◆ scale

template<FloatType T>
double dspark::AlgorithmicReverb< T >::PlateTank::scale = 1.0

The rate over Dattorro's.

Definition at line 1794 of file AlgorithmicReverb.h.


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