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

Power-of-two circular delay line: at(k) is the sample pushed k samples ago. More...

#include <AlgorithmicReverb.h>

Public Member Functions

void prepare (int maxDelay)
 
void clear () noexcept
 
T at (int k) const noexcept
 
void push (T x) noexcept
 

Public Attributes

std::vector< T > buf
 
int mask = 0
 
int w = 0
 

Detailed Description

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

Power-of-two circular delay line: at(k) is the sample pushed k samples ago.

Definition at line 1006 of file AlgorithmicReverb.h.

Member Function Documentation

◆ at()

template<FloatType T>
T dspark::AlgorithmicReverb< T >::Line::at ( int  k) const
inlinenoexcept

Definition at line 1021 of file AlgorithmicReverb.h.

◆ clear()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Line::clear ( )
inlinenoexcept

Definition at line 1020 of file AlgorithmicReverb.h.

◆ prepare()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Line::prepare ( int  maxDelay)
inline

Definition at line 1012 of file AlgorithmicReverb.h.

◆ push()

template<FloatType T>
void dspark::AlgorithmicReverb< T >::Line::push ( T  x)
inlinenoexcept

Definition at line 1022 of file AlgorithmicReverb.h.

Member Data Documentation

◆ buf

template<FloatType T>
std::vector<T> dspark::AlgorithmicReverb< T >::Line::buf

Definition at line 1008 of file AlgorithmicReverb.h.

◆ mask

template<FloatType T>
int dspark::AlgorithmicReverb< T >::Line::mask = 0

Definition at line 1009 of file AlgorithmicReverb.h.

◆ w

template<FloatType T>
int dspark::AlgorithmicReverb< T >::Line::w = 0

Definition at line 1010 of file AlgorithmicReverb.h.


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