Public Member Functions | List of all members
ModulatorSynthGroupVoice Class Reference

This class acts as wrapper in a ModulatorSynthGroup for all child synth voices. More...

Inheritance diagram for ModulatorSynthGroupVoice:
ModulatorSynthVoice

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 ModulatorSynthgetOwnerSynth () 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...
 

Detailed Description

This class acts as wrapper in a ModulatorSynthGroup for all child synth voices.

Member Function Documentation

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.

void startNote ( int  midiNoteNumber,
float  velocity,
SynthesiserSound *  ,
int   
)
overridevirtual

Calls the base class startNote() for the group itself and all child synths.

Reimplemented from ModulatorSynthVoice.

void stopNote ( float  ,
bool   
)
overridevirtual

Calls the base class stopNote() for the group itself and all child synths.

Reimplemented from ModulatorSynthVoice.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.