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