EffectCallback

You can create custom effect from a function with EffectCallback. It's better to create your own IAudioEffect derivative though.

Constructors

this
this(EffectCallbackFunction cb, void* userData)
Undocumented in source.

Members

Functions

prepareToPlay
void prepareToPlay(float sampleRate, int maxFrames, int numChannels)
Undocumented in source. Be warned that the author may not have intended to support it.
processAudio
void processAudio(AudioBuffer!float inoutBuffer, EffectCallbackInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IAudioEffect

prepareToPlay
void prepareToPlay(float sampleRate, int maxFrames, int numChannels)

Called before the effect is used in playback. Initialize state here.

processAudio
void processAudio(AudioBuffer!float inoutBuffer, EffectCallbackInfo info)

Actual effect processing.

getParameters
IParameter[] getParameters()

Get all parameters in this effect.

numParameters
int numParameters(int index)

Get number of parameters.

parameter
parameter(int index)

Get a parameter by index.

Meta