This class acts as wrapper in a ModulatorSynthGroup for all child synth voices. More...
Public Member Functions | |
void | addChildSynth (ModulatorSynth *childSynth) |
This stores a reference of the child synths and a reference of the voice of the child processor with the same voice index. More... | |
void | removeChildSynth (ModulatorSynth *childSynth) |
This removes reference of the child synths and a reference of the voice of the child processor with the same voice index. More... | |
void | startNote (int midiNoteNumber, float velocity, SynthesiserSound *, int) override |
Calls the base class startNote() for the group itself and all child synths. More... | |
void | stopNote (float, bool) override |
Calls the base class stopNote() for the group itself and all child synths. More... | |
Public Member Functions inherited from ModulatorSynthVoice | |
void | killVoice () |
This kills the note with a short fade time. More... | |
virtual void | renderNextBlock (AudioSampleBuffer &outputBuffer, int startSample, int numSamples) override |
If not overriden, this uses a sine generator for an example usage of this voice class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ModulatorSynthVoice | |
const ModulatorSynth * | getOwnerSynth () const noexcept |
Returns the ModulatorSynth instance that this voice belongs to. More... | |
Protected Attributes inherited from ModulatorSynthVoice | |
double | uptimeDelta = 0.0 |
The current delta value in which the uptime gets increased per calculated sample. More... | |
double | voiceUptime |
The total voice uptime. More... | |
This class acts as wrapper in a ModulatorSynthGroup for all child synth voices.
void addChildSynth | ( | ModulatorSynth * | childSynth | ) |
This stores a reference of the child synths and a reference of the voice of the child processor with the same voice index.
void removeChildSynth | ( | ModulatorSynth * | childSynth | ) |
This removes reference of the child synths and a reference of the voice of the child processor with the same voice index.
|
overridevirtual |
Calls the base class startNote() for the group itself and all child synths.
Reimplemented from ModulatorSynthVoice.
|
overridevirtual |
Calls the base class stopNote() for the group itself and all child synths.
Reimplemented from ModulatorSynthVoice.