47 currentlyPlayingNote =
MPENote();
KeyState keyState
Current key state.
bool isCurrentlyPlayingNote(MPENote note) const noexcept
Returns true if the voice is currently playing the given MPENote (as identified by the note's initial...
bool isPlayingButReleased() const noexcept
Returns true if a voice is sounding in its release phase.
uint16 noteID
A unique ID.
virtual ~MPESynthesiserVoice()
Destructor.
void clearCurrentNote() noexcept
Resets the state of this voice after a sound has finished playing.
virtual bool isActive() const
Returns true if this voice is currently busy playing a sound.
This struct represents a playing MPE note.
MPESynthesiserVoice()
Constructor.