OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_MidiMessageSequence.h>
Public Attributes | |
MidiMessage | message |
MidiEventHolder * | noteOffObject = nullptr |
Structure used to hold midi events in the sequence.
These structures act as 'handles' on the events as they are moved about in the list, and make it quick to find the matching note-offs for note-on events.
Definition at line 64 of file juce_MidiMessageSequence.h.
MidiMessage juce::MidiMessageSequence::MidiEventHolder::message |
The message itself, whose timestamp is used to specify the event's time.
Definition at line 69 of file juce_MidiMessageSequence.h.
Referenced by juce::MidiMessageSequence::getTimeOfMatchingKeyUp().
MidiEventHolder* juce::MidiMessageSequence::MidiEventHolder::noteOffObject = nullptr |
The matching note-off event (if this is a note-on event).
If this isn't a note-on, this pointer will be nullptr.
Use the MidiMessageSequence::updateMatchedPairs() method to keep these note-offs up-to-date after events have been moved around in the sequence or deleted.
Definition at line 79 of file juce_MidiMessageSequence.h.