This commit is contained in:
Clément Le Bihan
2021-12-14 14:46:46 +01:00
parent 807e9274ad
commit bf10d1b14e
+1 -1
View File
@@ -86,7 +86,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(int(d['time'] * 1000), {"duration": 200, "color": default_color, "key": midi_key_my_key(d["note"])})
p = Partition("test",
notes