From f23ffb431aba8aebfccdeb985e81f08d1a238430 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 18 Nov 2020 23:43:31 +0100 Subject: [PATCH] midi: mtc detail --- src/python/mtc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/python/mtc.py b/src/python/mtc.py index 084b3477..d8d32369 100644 --- a/src/python/mtc.py +++ b/src/python/mtc.py @@ -39,7 +39,9 @@ def mtc_decode(message, port): else: mtc_bytes = message[5:-1] - mtc_bytes[0] = mtc_bytes[0] & 31 + + + mtc_bytes[0] = mtc_bytes[0] & 31 return ":".join([str(x).zfill(2) for x in mtc_bytes])