All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
VoiceModulation::PolyphonyManager Class Reference

Public Member Functions

int getVoiceAmount () const
 
void setCurrentVoice (int newCurrentVoice) noexcept
 
void clearCurrentVoice () noexcept
 

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.