This commit is contained in:
Clément Le Bihan
2021-12-14 14:50:00 +01:00
parent 895e8a34a9
commit 61d1d68ee4
+1 -1
View File
@@ -88,7 +88,7 @@ async def main():
d = msg.dict()
print(msg, d)
if "note" in d:
notes.append(Note(int(d['time'] * 1000), {"duration": 200, "color": default_color, "key": midi_key_my_key(d["note"])}))
notes.append(Note(int(d['time'] * 1000), {"duration": 700, "color": default_color, "key": midi_key_my_key(d["note"])}))
p = Partition("test",
notes