IPluginHost

Members

Functions

beginAudioProcessing
void beginAudioProcessing()

Switch on the plugin. Call it before processing.

close
void close()

Free all resources associated with the plugin host.

closeUI
void closeUI()

Closes the editor.

endAudioProcessing
void endAudioProcessing()

Switch off the plugin. Call it after processing.

getCurrentProgram
int getCurrentProgram()

Gets current "program" index.

getEffectName
string getEffectName()

Get plugin information

getParameter
float getParameter(int paramIndex)
getProductString
string getProductString()

Get plugin information

getUISize
int[2] getUISize()

Gets the UI size.

getVendorString
string getVendorString()

Get plugin information

loadPreset
void loadPreset(int presetIndex)

Loads a preset.

openUI
void openUI(void* windowHandle)

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

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

restoreState
void restoreState(ubyte[] chunk)

Restore state of the plugin.

saveState
ubyte[] saveState()

Serialize state of the plugin.

setMaxBufferSize
void setMaxBufferSize(int samples)

Sets the maximum buffer size

setParameter
void setParameter(int paramIndex, float normalizedValue)

Sets a parameter's value.

setSampleRate
void setSampleRate(float sampleRate)

Sets the desired sampleRate

Meta