Revert "midi: cast arg to number to avoid formatting errors"

This reverts commit 44ad29d359.
This commit is contained in:
bordun 2021-02-07 14:38:03 +01:00
parent 7d02e8608c
commit 8a6d47be85

View file

@ -235,7 +235,7 @@ def send_midi(name, event, *args):
else:
args = [int(round(float(x))) for x in args]
args = [int(round(x)) for x in args]
m = [mtype, args[0]]
if mtype == NOTE_ON: