Skip to content

Instantly share code, notes, and snippets.

@bearpelican
Created August 6, 2019 22:34
Show Gist options
  • Save bearpelican/d123f61bbffba4005b4c6aee3dbf9195 to your computer and use it in GitHub Desktop.
Save bearpelican/d123f61bbffba4005b4c6aee3dbf9195 to your computer and use it in GitHub Desktop.
<MidiFile 2 tracks
<MidiTrack 0 -- 22 events
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent SEQUENCE_TRACK_NAME, t=None, track=0, channel=None, data=b'Melody'>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent PROGRAM_CHANGE, t=None, track=0, channel=1, data=0>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent PITCH_BEND, t=None, track=0, channel=1, parameter1=0, parameter2=64>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent PROGRAM_CHANGE, t=None, track=0, channel=1, data=0>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent NOTE_ON, t=None, track=0, channel=1, pitch=60, velocity=90>
<MidiEvent DeltaTime, t=1024, track=0, channel=None>
<MidiEvent NOTE_OFF, t=None, track=0, channel=1, pitch=60, velocity=0>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent NOTE_ON, t=None, track=0, channel=1, pitch=62, velocity=90>
<MidiEvent DeltaTime, t=1024, track=0, channel=None>
<MidiEvent NOTE_OFF, t=None, track=0, channel=1, pitch=62, velocity=0>
<MidiEvent DeltaTime, t=0, track=0, channel=None>
<MidiEvent NOTE_ON, t=None, track=0, channel=1, pitch=64, velocity=90>
<MidiEvent DeltaTime, t=2048, track=0, channel=None>
<MidiEvent NOTE_OFF, t=None, track=0, channel=1, pitch=64, velocity=0>
<MidiEvent DeltaTime, t=1024, track=0, channel=None>
<MidiEvent END_OF_TRACK, t=None, track=0, channel=None, data=b''>
>
<MidiTrack 1 -- 26 events
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent SEQUENCE_TRACK_NAME, t=None, track=1, channel=None, data=b'Chords'>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent PROGRAM_CHANGE, t=None, track=1, channel=1, data=0>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent PITCH_BEND, t=None, track=1, channel=1, parameter1=0, parameter2=64>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent PROGRAM_CHANGE, t=None, track=1, channel=1, data=0>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_ON, t=None, track=1, channel=1, pitch=45, velocity=90>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_ON, t=None, track=1, channel=1, pitch=52, velocity=90>
<MidiEvent DeltaTime, t=2048, track=1, channel=None>
<MidiEvent NOTE_OFF, t=None, track=1, channel=1, pitch=45, velocity=0>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_OFF, t=None, track=1, channel=1, pitch=52, velocity=0>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_ON, t=None, track=1, channel=1, pitch=48, velocity=90>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_ON, t=None, track=1, channel=1, pitch=55, velocity=90>
<MidiEvent DeltaTime, t=2048, track=1, channel=None>
<MidiEvent NOTE_OFF, t=None, track=1, channel=1, pitch=48, velocity=0>
<MidiEvent DeltaTime, t=0, track=1, channel=None>
<MidiEvent NOTE_OFF, t=None, track=1, channel=1, pitch=55, velocity=0>
<MidiEvent DeltaTime, t=1024, track=1, channel=None>
<MidiEvent END_OF_TRACK, t=None, track=1, channel=None, data=b''>
>
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment