|
void | clear () |
|
void | reset (double _sampleRate, double minimumPitch=MIDI_NOTE_0_FREQ) |
| reset the delay, calculate a new length based on sample rate and minimum pitch More...
|
|
void | setDelayInSamples (double _delaySamples) |
| set delay time in samples; used to access the delay when reading More...
|
|
void | writeDelay (double xn) |
| write a value into the top of the delay More...
|
|
double | readDelay () |
| read a delayed value at the location specified in the call to setDelayInSamples() More...
|
|
◆ clear()
void SynthLab::DelayLine::clear |
( |
| ) |
|
|
inline |
◆ readDelay()
double SynthLab::DelayLine::readDelay |
( |
| ) |
|
|
inline |
read a delayed value at the location specified in the call to setDelayInSamples()
- Returns
- the freshly read delay value
◆ reset()
void SynthLab::DelayLine::reset |
( |
double |
_sampleRate, |
|
|
double |
minimumPitch = MIDI_NOTE_0_FREQ |
|
) |
| |
|
inline |
reset the delay, calculate a new length based on sample rate and minimum pitch
- Parameters
-
_sampleRate | fs |
minimumPitch | pitch in Hz of the lowest note that could fit into this delay line |
◆ setDelayInSamples()
void SynthLab::DelayLine::setDelayInSamples |
( |
double |
_delaySamples | ) |
|
|
inline |
set delay time in samples; used to access the delay when reading
- Parameters
-
_delaySamples | delay in samples, may be fractional |
◆ writeDelay()
void SynthLab::DelayLine::writeDelay |
( |
double |
xn | ) |
|
|
inline |
write a value into the top of the delay
- Parameters
-
The documentation for this class was generated from the following file: