56 bool isCurrentlyPlayingNote (
MPENote note)
const noexcept;
62 virtual bool isActive()
const {
return currentlyPlayingNote.isValid(); }
65 bool isPlayingButReleased()
const noexcept;
70 virtual void noteStarted() = 0;
84 virtual void noteStopped (
bool allowTailOff) = 0;
90 virtual void notePressureChanged() = 0;
99 virtual void notePitchbendChanged() = 0;
105 virtual void noteTimbreChanged() = 0;
114 virtual void noteKeyStateChanged() = 0;
162 uint32 noteOnTime = 0;
178 void clearCurrentNote() noexcept;
181 double currentSampleRate = 0.0;
virtual void setCurrentSampleRate(double newRate)
double getSampleRate() const noexcept
virtual void renderNextBlock(AudioBuffer< double > &, int, int)
MPENote getCurrentlyPlayingNote() const noexcept
virtual bool isActive() const