From f5e1985e2721d7817c6589f2b8ed053147cb16d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Tue, 14 Dec 2021 14:15:43 +0100 Subject: [PATCH] adding midi --- midi.py | 4 ++++ new_song_1.mid | Bin 0 -> 236 bytes 2 files changed, 4 insertions(+) create mode 100644 midi.py create mode 100644 new_song_1.mid diff --git a/midi.py b/midi.py new file mode 100644 index 0000000..9577106 --- /dev/null +++ b/midi.py @@ -0,0 +1,4 @@ +from mido import MidiFile + +for msg in MidiFile('new_song_1.mid').play(): + print(msg) \ No newline at end of file diff --git a/new_song_1.mid b/new_song_1.mid new file mode 100644 index 0000000000000000000000000000000000000000..4d45c1cdfd2239a459ed6912dce539f0c597dce0 GIT binary patch literal 236 zcmY+8F$%&!6hz-9ArZCL(#lpy2!T{yAcc^^GDQTz&dx#-$OUo*Z?K)MN6Ag%xCX&u z*_r=lKEEi>H4tL(%utlqi`