24 #ifndef MIDIPLAYEREVENTLIST_H 25 #define MIDIPLAYEREVENTLIST_H 71 void insert (
double time,
77 quint32 getCumulativeTime()
const;
80 double getProgressInPercent()
const;
81 void setProgress (
double percent);
83 void writeListInReadableForm (QString filename);
93 #endif // MIDIPLAYEREVENTLIST_H QMultiMap< double, MidiPlayerEvent > MidiEventList
double deltaticks
Time ticks elapsed since the last event.
quint8 byte2
Midi second argument byte (zero if none)
quint8 command
Midi command byte.
quint8 byte1
Midi first argument byte.
MidiEventList mEventList
Instance of the event list.
Structure used internally in the MidiPlayer to hold a Midi event.
quint8 track
Midi track number.
QMutex mAccessMutex
Mutex for access.
MidiEventList::Iterator pEventIterator
Iterator playing the notes.
quint32 mMaxTime
Maximum time at the end of the list.
Class managing the EventList in the MidiPlayer.
MidiPlayerEvent(quint8 track=0, double deltaticks=0, quint8 command=0, quint8 byte1=0, quint8 byte2=0)
Constructor for a MidiPlayerEvent, copying the arguments.