This commit is contained in:
Clément Le Bihan
2021-12-14 14:49:28 +01:00
parent 6a1aae398b
commit 895e8a34a9
+1 -1
View File
@@ -88,7 +88,7 @@ async def main():
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"])})
notes.append(Note(int(d['time'] * 1000), {"duration": 200, "color": default_color, "key": midi_key_my_key(d["note"])}))
p = Partition("test",
notes