midi: mtc detail
This commit is contained in:
parent
cb127b3849
commit
f23ffb431a
1 changed files with 3 additions and 1 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue