VST 3 Examples VST 3.7
SDK for developing VST plug-in
|
Example Voice class for the Steinberg::Vst::VoiceProcessorImplementation. More...
#include <voicebase.h>
Public Member Functions | |
int32 | getNoteId () const |
Returns the current note id of this voice. More... | |
virtual void | setGlobalParameterStorage (GlobalParameterStorage *globalParameters) |
Sets a new GlobalParameterStorage. More... | |
virtual void | setSampleRate (ParamValue sampleRate) |
Sets the sampleRate. More... | |
float | getSampleRate () const |
Returns the sampleRate. More... | |
virtual void | setNoteExpressionValue (int32 index, ParamValue value) |
virtual void | noteOn (int32 pitch, ParamValue velocity, float tuning, int32 sampleOffset, int32 noteId) |
virtual void | noteOff (ParamValue velocity, int32 sampleOffset) |
virtual void | reset () |
Protected Member Functions | |
VoiceBase () | |
VoiceBase (const VoiceBase &vb) | |
virtual | ~VoiceBase () |
Protected Attributes | |
GlobalParameterStorage * | globalParameters |
int32 | noteId |
int32 | pitch |
int32 | noteOnSampleOffset |
int32 | noteOffSampleOffset |
float | tuning {0} |
ParamValue | sampleRate |
ParamValue | noteOnVelocity |
ParamValue | noteOffVelocity |
ParamValue | values [numValues] |
Example Voice class for the Steinberg::Vst::VoiceProcessorImplementation.
Implementation classes need to implement the following additional method:
|
protected |
|
protected |
|
protectedvirtual |
|
inline |
Returns the current note id of this voice.
|
inlinevirtual |
Sets a new GlobalParameterStorage.
|
inlinevirtual |
Sets the sampleRate.
Reimplemented in Voice< SamplePrecision >.
|
inline |
Returns the sampleRate.
|
inlinevirtual |
Reimplemented in Voice< SamplePrecision >.
|
virtual |
Reimplemented in Voice< SamplePrecision >.
|
virtual |
Reimplemented in Voice< SamplePrecision >.
|
inlinevirtual |
Reimplemented in Voice< SamplePrecision >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |