This commit is contained in:
Clément Le Bihan
2021-12-14 14:46:08 +01:00
parent 0c4b18b52f
commit 807e9274ad
+3 -3
View File
@@ -83,9 +83,9 @@ async def main():
for msg in MidiFile('new_song_1.mid'):
if not msg.is_meta:
d = msg.dict()
print(msg, d)
d = msg.dict()
print(msg, d)
if "note" in d:
notes.append(int(d.time * 1000), {"duration": 200, "color": default_color, "key": midi_key_my_key(d.note)})
p = Partition("test",