$ python readmid.py
read
MidiFile(type=0, ticks_per_beat=96, tracks=[
  MidiTrack([
    MetaMessage('track_name', name='\x00', time=0),
    MetaMessage('time_signature', numerator=4, denominator=4, clocks_per_click=36, notated_32nd_notes_per_beat=8, time=0),
    MetaMessage('time_signature', numerator=4, denominator=4, clocks_per_click=36, notated_32nd_notes_per_beat=8, time=0),
    Message('note_on', channel=0, note=72, velocity=102, time=0),
    Message('note_on', channel=0, note=69, velocity=102, time=192),
    Message('note_off', channel=0, note=72, velocity=64, time=0),
    Message('note_off', channel=0, note=69, velocity=64, time=144),
    Message('note_on', channel=0, note=71, velocity=102, time=0),
    Message('note_on', channel=0, note=67, velocity=102, time=192),
    Message('note_off', channel=0, note=71, velocity=64, time=0),
    Message('note_off', channel=0, note=67, velocity=64, time=216),
    Message('note_on', channel=0, note=72, velocity=102, time=24),
    Message('note_on', channel=0, note=71, velocity=102, time=48),
    Message('note_off', channel=0, note=72, velocity=64, time=0),
    Message('note_on', channel=0, note=67, velocity=102, time=48),
    Message('note_off', channel=0, note=71, velocity=64, time=0),
    Message('note_off', channel=0, note=67, velocity=64, time=48),
    Message('note_on', channel=0, note=71, velocity=102, time=0),
    Message('note_on', channel=0, note=67, velocity=102, time=48),
    Message('note_off', channel=0, note=71, velocity=64, time=0),
    Message('note_off', channel=0, note=67, velocity=64, time=48),
    Message('note_on', channel=0, note=71, velocity=102, time=0),
    Message('note_off', channel=0, note=71, velocity=64, time=48),
    Message('note_on', channel=0, note=71, velocity=102, time=48),
    Message('note_off', channel=0, note=71, velocity=64, time=48),
    Message('note_on', channel=0, note=72, velocity=102, time=0),
    Message('note_off', channel=0, note=72, velocity=64, time=48),
    Message('note_on', channel=0, note=74, velocity=102, time=0),
    Message('note_off', channel=0, note=74, velocity=64, time=48),
    Message('note_on', channel=0, note=74, velocity=102, time=48),
    Message('note_off', channel=0, note=74, velocity=64, time=48),
    Message('note_on', channel=0, note=74, velocity=102, time=48),
    Message('note_off', channel=0, note=74, velocity=64, time=48),
    Message('note_on', channel=0, note=74, velocity=102, time=48),
    Message('note_off', channel=0, note=74, velocity=64, time=48),
    MetaMessage('end_of_track', time=0)])
])