If you subclass a Modulator from this class, it can handle multiple voices. More...
Public Member Functions | |
void | clearCurrentVoice () noexcept |
Call this when you finished the processing to clear the current voice. More... | |
int | getVoiceAmount () const |
Returns the amount of voices the Modulator can handle. More... | |
void | setCurrentVoice (int newCurrentVoice) noexcept |
This sets the current voice. More... | |
If you subclass a Modulator from this class, it can handle multiple voices.
|
inlinenoexcept |
Call this when you finished the processing to clear the current voice.
|
inline |
Returns the amount of voices the Modulator can handle.
|
noexcept |
This sets the current voice.
Call this before you process the modulator!
A call to this function must always be preceded by clearCurrentVoice() or a assertion is thrown!