template<class Precision, class VoiceClass,
int32 numChannels,
int32 maxVoices, class GlobalParameterStorage>
class Steinberg::Vst::VoiceProcessorImplementation< Precision, VoiceClass, numChannels, maxVoices, GlobalParameterStorage >
A Simple Voice Processor Implementation supporting note expression events.
- Parameters
-
| Precision | must be either float or double |
| VoiceClass | the voice class |
| numChannels | number of channels |
| maxVoices | number of maximum voices |
| GlobalParameterStorage | a class holding global parameters |
The VoiceClass must implement the following methods:
int32 getNoteId ()
const;
void setGlobalParameterStorage (GlobalParameterStorage* globalParameters);
bool process (SamplePrecision* outputBuffers[numChannels],
int32 numSamples);
void reset ()
tresult process(ProcessData &data) override
Definition: voiceprocessor.h:348
See Steinberg::Vst::VoiceBase for an example base class.
This implementation does not support advanced features like voice stealing when maxVoices is reached, etc ...