MidiFile.playbackStream

Returns a forward range for playback. Each item is a command, which is like the midi event but with some more annotations and control methods.

Modifying this MidiFile object or any of its children during playback may cause trouble.

Note that you do not need to handle any meta events, it keeps the tempo internally, but you can look at it if you like.

class MidiFile
playbackStream
()

Meta