33 IPlugWAM(
const InstanceInfo& info,
const Config& config);
36 const char* init(uint32_t bufsize, uint32_t sr,
void* pDesc)
override;
37 void terminate()
override { DBGMSG(
"terminate"); }
38 void resize(uint32_t bufsize)
override { DBGMSG(
"resize"); }
40 void onProcess(WAM::AudioBus* pAudio,
void* pData)
override;
41 void onMidi(
byte status,
byte data1,
byte data2)
override;
42 void onSysex(
byte* pData, uint32_t size)
override;
43 void onMessage(
char* verb,
char* res,
double data)
override;
44 void onMessage(
char* verb,
char* res,
char* data)
override;
45 void onMessage(
char* verb,
char* res,
void* data, uint32_t size)
override;
46 void onParam(uint32_t idparam,
double value)
override;
54 void SendControlValueFromDelegate(
int ctrlTag,
double normalizedValue)
override;
55 void SendControlMsgFromDelegate(
int ctrlTag,
int msgTag,
int dataSize,
const void* pData)
override;
56 void SendParameterValueFromDelegate(
int paramIdx,
double value,
bool normalized)
override;
57 void SendArbitraryMsgFromDelegate(
int msgTag,
int dataSize = 0,
const void* pData =
nullptr)
override;
61 void OnEditorIdleTick();
64IPlugWAM* MakePlug(
const InstanceInfo& info);
The base class of an IPlug plug-in, which interacts with the different plug-in APIs.
The base class for IPlug Audio Processing.
WebAudioModule (WAM) API base class.
bool SendMidiMsg(const IMidiMsg &msg) override
Send a single MIDI message // TODO: info about what thread should this be called on or not called on!
bool SendSysEx(const ISysEx &msg) override
Send a single MIDI System Exclusive (SysEx) message // TODO: info about what thread should this be ca...
void SetLatency(int samples) override
Call this if the latency of your plug-in changes after initialization (perhaps from OnReset() ) This ...
Encapsulates a MIDI message and provides helper functions.
A struct for dealing with SysEx messages.