PlayStreamEvent

Undocumented in source.

Members

Variables

event
MidiEvent event;

And this is the midi event message.

file
MidiFile file;

informational. May be null if the stream didn't come from a file or tracks.

midiClockPosition
int midiClockPosition;

Gives the position ot the global midi clock for this event. The event.deltaTime is in units of the midi clock, but the actual event has the clock per-track whereas this value is global, meaning it might not be the sum of event.deltaTime to this point. (It should add up if you only sum ones with the same track though.

midiTicksToNextNoteOnChannel
int midiTicksToNextNoteOnChannel;

This is the count of midi clock ticks after this non-zero velocity note on event (if it is not one of those, this value will be zero) and the next note that will be sounded on its same channel.

noteOnDuration
Duration noteOnDuration;

The duration between this non-zero velocity note on and its associated note off.

track
MidiTrack track;

informational. May be null if the stream didn't come from a file or tracks.

wait
Duration wait;

This is how long you wait until triggering this event. Note it may be zero.

Suggestion Box / Bug Report