From 895e8a34a9e5da64194aeb07e46f672f5d47e441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Tue, 14 Dec 2021 14:49:28 +0100 Subject: [PATCH] hope --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cd26666..1e401dc 100644 --- a/main.py +++ b/main.py @@ -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