- beginAudioProcessing
void beginAudioProcessing()
Undocumented in source. Be warned that the author may not have intended to support it.
- close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
- closeUI
void closeUI()
Undocumented in source. Be warned that the author may not have intended to support it.
- endAudioProcessing
void endAudioProcessing()
Undocumented in source. Be warned that the author may not have intended to support it.
- getCurrentProgram
int getCurrentProgram()
Undocumented in source. Be warned that the author may not have intended to support it.
- getEffectName
const(char)[] getEffectName()
Undocumented in source. Be warned that the author may not have intended to support it.
- getLatencySamples
int getLatencySamples()
Undocumented in source. Be warned that the author may not have intended to support it.
- getParameter
float getParameter(int paramIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- getParameterCount
int getParameterCount()
Undocumented in source. Be warned that the author may not have intended to support it.
- getParameterName
const(char)[] getParameterName(int paramIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- getProductString
const(char)[] getProductString()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTailSizeInSeconds
double getTailSizeInSeconds()
Undocumented in source. Be warned that the author may not have intended to support it.
- getUISize
int[2] getUISize()
Undocumented in source. Be warned that the author may not have intended to support it.
- getVendorString
const(char)[] getVendorString()
Undocumented in source. Be warned that the author may not have intended to support it.
- loadPreset
void loadPreset(int presetIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
- openUI
void openUI(void* windowHandle)
Undocumented in source. Be warned that the author may not have intended to support it.
- processAudioFloat
void processAudioFloat(float** inputs, float** outputs, int samples)
Undocumented in source. Be warned that the author may not have intended to support it.
- restoreState
bool restoreState(const(ubyte)[] chunk)
Undocumented in source. Be warned that the author may not have intended to support it.
- saveState
const(ubyte)[] saveState()
Undocumented in source. Be warned that the author may not have intended to support it.
- setIO
bool setIO(int numInputs, int numOutputs)
Undocumented in source. Be warned that the author may not have intended to support it.
- setMaxBufferSize
void setMaxBufferSize(int samples)
Undocumented in source. Be warned that the author may not have intended to support it.
- setParameter
void setParameter(int paramIndex, float normalizedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSampleRate
void setSampleRate(float sampleRate)
Undocumented in source. Be warned that the author may not have intended to support it.
- processAudioFloat
void processAudioFloat(float** inputs, float** ouputs, int samples)
Process some audio.
setSampleRate and setMaxBufferSize must be called before use.
samples must <= the maximum buffer size asked in
- setSampleRate
void setSampleRate(float sampleRate)
Sets the desired sampleRate
- setMaxBufferSize
void setMaxBufferSize(int samples)
Sets the maximum buffer size
- setIO
bool setIO(int numInputs, int numOutputs)
Sets I/O arrangement (simple right now).
- setParameter
void setParameter(int paramIndex, float normalizedValue)
Sets a parameter's value.
- getParameter
float getParameter(int paramIndex)
- getParameterName
const(char)[] getParameterName(int paramIndex)
- getParameterCount
int getParameterCount()
- loadPreset
void loadPreset(int presetIndex)
- saveState
const(ubyte)[] saveState()
Serialize state of the plugin, to restore with restoreState.
- restoreState
bool restoreState(const(ubyte)[] chunk)
Restore state of the plugin, saved with saveState.
- getCurrentProgram
int getCurrentProgram()
Gets current "program" index.
Note: not all presets are exposed to the host. In many plug-ins they aren't.
- getProductString
const(char)[] getProductString()
Get plugin information.
Lifetime of return value is same as IPluginHost.
- getEffectName
const(char)[] getEffectName()
ditto
Lifetime of return value is same as IPluginHost.
- getVendorString
const(char)[] getVendorString()
ditto
Lifetime of return value is same as IPluginHost.
- openUI
void openUI(void* windowHandle)
Opens the editor window.
On Windows, pass a HWND
On Mac, a NSView
- closeUI
void closeUI()
- getUISize
int[2] getUISize()
- beginAudioProcessing
void beginAudioProcessing()
Switch on the plugin. Call it before processing.
- endAudioProcessing
void endAudioProcessing()
Switch off the plugin. Call it after processing.
- getLatencySamples
int getLatencySamples()
Get current plug-in latency in samples.
Because of VST2 limitations, this number of only valid between a
beginAudioProcessing and endAudioProcessing call, and won't move while
processing.
- getTailSizeInSeconds
double getTailSizeInSeconds()
Get tail size in seconds. Precise semantics TBD.