VST2PluginHost

Undocumented in source.

Constructors

this
this(SharedLib lib)
Undocumented in source.

Members

Functions

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
string 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
string 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
string 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
void restoreState(ubyte[] chunk)
Undocumented in source. Be warned that the author may not have intended to support it.
saveState
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.

Inherited Members

From IPluginHost

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)

Loads a preset.

saveState
ubyte[] saveState()

Serialize state of the plugin.

restoreState
void restoreState(ubyte[] chunk)

Restore state of the plugin.

getCurrentProgram
int getCurrentProgram()

Gets current "program" index.

close
void close()

Free all resources associated with the plugin host.

getProductString
string getProductString()
getEffectName
string getEffectName()
getVendorString
string getVendorString()

Get plugin information

openUI
void openUI(void* windowHandle)

Opens the editor window. On Windows, pass a HWND On Mac, a NSView

closeUI
void closeUI()

Closes the editor.

getUISize
int[2] getUISize()

Gets the UI size.

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.

Meta