daisysp::DelayLine¶
#include <delayline.h>
Public Functions¶
Name | |
---|---|
DelayLine() | |
~DelayLine() | |
void | Init() |
void | Reset() |
void | SetDelay(size_t delay) |
void | SetDelay(float delay) |
void | Write(const T sample) |
const T | Read() const |
const T | Read(float delay) const |
const T | ReadHermite(float delay) const |
const T | Allpass(const T sample, size_t delay, const T coefficient) |
Detailed Description¶
Simple Delay line. November 2019
Converted to Template December 2019
declaration example: (1 second of floats)
DelayLine
By: shensley
Public Functions Documentation¶
function DelayLine¶
function ~DelayLine¶
function Init¶
initializes the delay line by clearing the values within, and setting delay to 1 sample.
function Reset¶
clears buffer, sets write ptr to 0, and delay to 1 sample.
function SetDelay¶
sets the delay time in samples If a float is passed in, a fractional component will be calculated for interpolating the delay line.
function SetDelay¶
sets the delay time in samples If a float is passed in, a fractional component will be calculated for interpolating the delay line.
function Write¶
writes the sample of type T to the delay line, and advances the write ptr
function Read¶
returns the next sample of type T in the delay line, interpolated if necessary.
function Read¶
Read from a set location
function ReadHermite¶
function Allpass¶
---¶
Updated on 2024-01-03 at 19:38:46 +0000