- getParameters
MValue[] getParameters()
Undocumented in source. Be warned that the author may not have intended to support it.
- midiReceive
void midiReceive(UMP data0, uint data1, uint data2, uint data3)
Undocumented in source. Be warned that the author may not have intended to support it.
- readParam_double
double readParam_double(uint presetID, uint paramID)
Undocumented in source. Be warned that the author may not have intended to support it.
- readParam_int
int readParam_int(uint presetID, uint paramID)
Undocumented in source. Be warned that the author may not have intended to support it.
- readParam_long
long readParam_long(uint presetID, uint paramID)
Undocumented in source. Be warned that the author may not have intended to support it.
- readParam_string
string readParam_string(uint presetID, uint paramID)
Undocumented in source. Be warned that the author may not have intended to support it.
- renderFrame
void renderFrame(float*[] input, float*[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
- waveformDataReceive
int waveformDataReceive(uint id, ubyte[] rawData, WaveFormat format)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeParam_double
int writeParam_double(uint presetID, uint paramID, double value)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeParam_int
int writeParam_int(uint presetID, uint paramID, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeParam_long
int writeParam_long(uint presetID, uint paramID, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeParam_string
int writeParam_string(uint presetID, uint paramID, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- ModuleInfo
struct ModuleInfo
Contains all data related to module info.
- bufferSize
size_t bufferSize;
The size of the output buffers (must kept as a constant)
- sampleRate
int sampleRate;
The sample rate that the audio subsystem runs at
- info
ModuleInfo info;
Basic info about the plugin
- handler
ModuleManager handler;
The main audio handler, also MIDI outs can be passed there
- StreamIDSet
alias StreamIDSet = SortedList!(ubyte, "a < b", false)
Undocumented in source.
- enabledInputs
StreamIDSet enabledInputs;
List of enabled input channel numbers
- enabledOutputs
StreamIDSet enabledOutputs;
List of enabled output channel numbers
- midiOut
void delegate(UMP data0, uint data1 = 0, uint data2 = 0, uint data3 = 0) midiOut;
A delegate where MIDI messages are being routed
- getInfo
ModuleInfo getInfo()
Returns the basic informations about this module.
- getSamplerate
int getSamplerate()
Returns the current sample rate.
- moduleSetup
void moduleSetup(ubyte[] inputs, ubyte[] outputs, int sampleRate, size_t bufferSize, ModuleManager handler)
- midiReceive
void midiReceive(UMP data0, uint data1, uint data2, uint data3)
MIDI 2.0 data received here.
- renderFrame
void renderFrame(float*[] input, float*[] output)
Renders the current audio frame.
- waveformDataReceive
int waveformDataReceive(uint id, ubyte[] rawData, WaveFormat format)
Receives waveform data that has been loaded from disk for reading. Returns zero if successful, or a specific
errorcode.
- writeParam_int
int writeParam_int(uint presetID, uint paramID, int value)
Restores a parameter to the given preset.
Returns an errorcode on failure.
- writeParam_long
int writeParam_long(uint presetID, uint paramID, long value)
Restores a parameter to the given preset.
Returns an errorcode on failure.
- writeParam_double
int writeParam_double(uint presetID, uint paramID, double value)
Restores a parameter to the given preset.
Returns an errorcode on failure.
- writeParam_string
int writeParam_string(uint presetID, uint paramID, string value)
Restores a parameter to the given preset.
Returns an errorcode on failure.
- getParameters
MValue[] getParameters()
Returns all the possible parameters this module has.
- readParam_int
int readParam_int(uint presetID, uint paramID)
Reads the given value (int).
- readParam_long
long readParam_long(uint presetID, uint paramID)
Reads the given value (int).
- readParam_double
double readParam_double(uint presetID, uint paramID)
Reads the given value (int).
- readParam_string
string readParam_string(uint presetID, uint paramID)
Reads the given value (int).