DigitalDelay

A general purpose Digital Delay with support for external feedback, fractional delay, and feedback path effects.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addFeedbackEffect
void addFeedbackEffect(AudioEffect!T effect)
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentFeedbackOutput
float getCurrentFeedbackOutput()
Undocumented in source. Be warned that the author may not have intended to support it.
getFeedbackAmount
float getFeedbackAmount()
Undocumented in source. Be warned that the author may not have intended to support it.
getMixAmount
float getMixAmount()
Undocumented in source. Be warned that the author may not have intended to support it.
getNextSample
T getNextSample(T input)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
resetIndices
void resetIndices()
Undocumented in source. Be warned that the author may not have intended to support it.
setCurrentFeedbackInput
void setCurrentFeedbackInput(float f)
Undocumented in source. Be warned that the author may not have intended to support it.
setDelay
void setDelay(float msDelay)

calculates and sets the number of samples required.

setFeedbackAmount
void setFeedbackAmount(float feedback)
Undocumented in source. Be warned that the author may not have intended to support it.
setMixAmount
void setMixAmount(float mix)
Undocumented in source. Be warned that the author may not have intended to support it.
setParams
void setParams(float msDelay, float feedback, float mix)

Sets delay time, feedback, and mix

setSampleRate
void setSampleRate(float sampleRate)

Set the sample rate and initialize the buffer.

setUseExternalFeedback
void setUseExternalFeedback(bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

used for debuging purposes.

Variables

_delayInMS
float _delayInMS;
Undocumented in source.
_delayInSamples
float _delayInSamples;
Undocumented in source.
_feedback
float _feedback;
Undocumented in source.
_feedbackIn
float _feedbackIn;
Undocumented in source.
_mix
float _mix;
Undocumented in source.
_readIndex
long _readIndex;
Undocumented in source.
_sampleRate
float _sampleRate;
Undocumented in source.
_size
size_t _size;
Undocumented in source.
_useExternalFeedback
bool _useExternalFeedback;
Undocumented in source.
_writeIndex
long _writeIndex;
Undocumented in source.
buffer
float* buffer;
Undocumented in source.
feedbackFX
Vec!(AudioEffect!T) feedbackFX;
Undocumented in source.
maxDelayTime
float maxDelayTime;
Undocumented in source.
resizeOnNextReset
bool resizeOnNextReset;
Undocumented in source.

Meta