Gin
|
Audio Delay with linear interpolation. More...
#include <gin_delayline.h>
Public Member Functions | |
DelayLine (int channels, double maximumDelay=0.001f, double sr=44100.0f) | |
void | setSize (int channels, double maximumDelay, double sr) |
void | clear () |
float | readLagrange (int ch, double t) |
float | readLinear (int ch, double t) |
float | readSample (int ch, int samplePos) |
float | readSampleLagrange (int ch, float samplePos) |
void | write (int ch, float input) |
void | writeFinished () |
Protected Attributes | |
juce::AudioSampleBuffer | buffer |
float *const * | data = nullptr |
double | sampleRate = 44100.0 |
int | writePos = 0 |
Audio Delay with linear interpolation.
References setSize().
References buffer, data, sampleRate, and writePos.
Referenced by DelayLine(), Modulation::setSampleRate(), and StereoDelay::setSampleRate().
void DelayLine::clear | ( | ) |
References buffer, and writePos.
Referenced by Modulation::reset(), StereoDelay::reset(), and Modulation::setSampleRate().
References buffer, data, Lagrange::interpolate(), sampleRate, and writePos.
Referenced by Modulation::process(), StereoDelay::process(), and StereoDelay::processSmoothed().
References buffer, data, Lagrange::interpolate(), and writePos.
References data, and writePos.
Referenced by Modulation::process(), StereoDelay::process(), and StereoDelay::processSmoothed().
void DelayLine::writeFinished | ( | ) |
References buffer, and writePos.
Referenced by Modulation::process(), StereoDelay::process(), and StereoDelay::processSmoothed().
|
protected |
Referenced by clear(), readLagrange(), readLinear(), readSample(), readSampleLagrange(), setSize(), and writeFinished().
Referenced by readLagrange(), readLinear(), readSample(), readSampleLagrange(), setSize(), and write().
|
protected |
Referenced by readLagrange(), readLinear(), and setSize().
|
protected |
Referenced by clear(), readLagrange(), readLinear(), readSample(), readSampleLagrange(), setSize(), write(), and writeFinished().