VST 3 Examples VST 3.7
SDK for developing VST plug-in
|
Example Note Expression Synth Voice Class. More...
#include <note_expression_synth_voice.h>
Public Member Functions | |
Voice () | |
~Voice () | |
void | setSampleRate (ParamValue sampleRate) SMTG_OVERRIDE |
void | noteOn (int32 pitch, ParamValue velocity, float tuning, int32 sampleOffset, int32 nId) SMTG_OVERRIDE |
void | noteOff (ParamValue velocity, int32 sampleOffset) SMTG_OVERRIDE |
bool | process (SamplePrecision *outputBuffers[2], int32 numSamples) |
void | reset () SMTG_OVERRIDE |
void | setNoteExpressionValue (int32 index, ParamValue value) SMTG_OVERRIDE |
Public Member Functions inherited from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState > | |
int32 | getNoteId () const |
Returns the current note id of this voice. More... | |
virtual void | setGlobalParameterStorage (GlobalParameterState *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 Attributes | |
uint32 | n |
int32 | noisePos |
int32 | noiseStep |
Filter * | filter |
SamplePrecision | trianglePhase |
SamplePrecision | sinusPhase |
ParamValue | currentTriangleF |
ParamValue | currentSinusF |
ParamValue | currentVolume |
ParamValue | currentPanningLeft |
ParamValue | currentPanningRight |
ParamValue | currentNoiseVolume |
ParamValue | currentSinusVolume |
ParamValue | currentSinusDetune |
ParamValue | currentSquareVolume |
ParamValue | currentTriangleVolume |
ParamValue | currentTriangleSlope |
ParamValue | currentLPFreq |
ParamValue | currentLPQ |
ParamValue | levelFromVel |
ParamValue | noteOffVolumeRamp |
Protected Attributes inherited from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState > | |
GlobalParameterState * | globalParameters |
int32 | noteId |
int32 | pitch |
int32 | noteOnSampleOffset |
int32 | noteOffSampleOffset |
float | tuning |
ParamValue | sampleRate |
ParamValue | noteOnVelocity |
ParamValue | noteOffVelocity |
ParamValue | values [numValues] |
Additional Inherited Members | |
Protected Member Functions inherited from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState > | |
VoiceBase () | |
VoiceBase (const VoiceBase &vb) | |
virtual | ~VoiceBase () |
Example Note Expression Synth Voice Class.
|
virtual |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
|
virtual |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
|
virtual |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
bool process | ( | SamplePrecision * | outputBuffers[2], |
int32 | numSamples | ||
) |
|
virtual |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
|
virtual |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |