60 bool isCurrentlyPlayingNote (
MPENote note)
const noexcept;
66 virtual bool isActive()
const {
return currentlyPlayingNote.isValid(); }
185 double currentSampleRate = 0.0;
Holds a resizable array of primitive or copy-by-value objects.
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.