60 bool isCurrentlyPlayingNote (
MPENote note)
const noexcept;
66 virtual bool isActive()
const {
return currentlyPlayingNote.isValid(); }
69 bool isPlayingButReleased() const noexcept;
74 virtual
void noteStarted() = 0;
88 virtual
void noteStopped (
bool allowTailOff) = 0;
94 virtual
void notePressureChanged() = 0;
103 virtual
void notePitchbendChanged() = 0;
109 virtual
void noteTimbreChanged() = 0;
118 virtual
void noteKeyStateChanged() = 0;
166 uint32 noteOnTime = 0;
182 void clearCurrentNote() noexcept;
185 double currentSampleRate = 0.0;
A multi-channel buffer containing floating point audio samples.
Represents an MPE voice that an MPESynthesiser can use to play a sound.
virtual void setCurrentSampleRate(double newRate)
Changes the voice's reference sample rate.
MPENote getCurrentlyPlayingNote() const noexcept
Returns the MPENote that this voice is currently playing.
double getSampleRate() const noexcept
Returns the current target sample rate at which rendering is being done.
virtual bool isActive() const
Returns true if this voice is currently busy playing a sound.
Base class for an MPE-compatible musical device that can play sounds.
#define JUCE_API
This macro is added to all JUCE public class declarations.
This struct represents a playing MPE note.