Example Note Expression Synth Voice Class. More...
#include <note_expression_synth_voice.h>

Public Member Functions | |
| Voice () | |
| ~Voice () | |
| void | setSampleRate (ParamValue sampleRate) |
| void | noteOn (int32 pitch, ParamValue velocity, float tuning, int32 sampleOffset, int32 nId) |
| void | noteOff (ParamValue velocity, int32 sampleOffset) |
| bool | process (SamplePrecision *outputBuffers[2], int32 numSamples) |
| void | reset () |
| void | setNoteExpressionValue (int32 index, ParamValue value) |
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 |
Example Note Expression Synth Voice Class.
| Voice | ( | ) | [inline] |
| ~Voice | ( | ) | [inline] |
| void setSampleRate | ( | ParamValue | sampleRate | ) | [inline, virtual] |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
| void noteOn | ( | int32 | pitch, | |
| ParamValue | velocity, | |||
| float | tuning, | |||
| int32 | sampleOffset, | |||
| int32 | nId | |||
| ) | [inline, virtual] |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
| void noteOff | ( | ParamValue | velocity, | |
| int32 | sampleOffset | |||
| ) | [inline, virtual] |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
| bool process | ( | SamplePrecision * | outputBuffers[2], | |
| int32 | numSamples | |||
| ) | [inline] |
| void reset | ( | ) | [inline, virtual] |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
| void setNoteExpressionValue | ( | int32 | index, | |
| ParamValue | value | |||
| ) | [inline, virtual] |
Reimplemented from VoiceBase< kNumParameters, SamplePrecision, 2, GlobalParameterState >.
SamplePrecision trianglePhase [protected] |
SamplePrecision sinusPhase [protected] |
ParamValue currentTriangleF [protected] |
ParamValue currentSinusF [protected] |
ParamValue currentVolume [protected] |
ParamValue currentPanningLeft [protected] |
ParamValue currentPanningRight [protected] |
ParamValue currentNoiseVolume [protected] |
ParamValue currentSinusVolume [protected] |
ParamValue currentSinusDetune [protected] |
ParamValue currentSquareVolume [protected] |
ParamValue currentTriangleVolume [protected] |
ParamValue currentTriangleSlope [protected] |
ParamValue currentLPFreq [protected] |
ParamValue currentLPQ [protected] |
ParamValue levelFromVel [protected] |
ParamValue noteOffVolumeRamp [protected] |