Public Member Functions | List of all members
VoiceModulation::PolyphonyManager Class Reference

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...
 

Detailed Description

If you subclass a Modulator from this class, it can handle multiple voices.

Member Function Documentation

void clearCurrentVoice ( )
inlinenoexcept

Call this when you finished the processing to clear the current voice.

int getVoiceAmount ( ) const
inline

Returns the amount of voices the Modulator can handle.

void setCurrentVoice ( int  newCurrentVoice)
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!

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