diff --git a/src/python/midi.py b/src/python/midi.py index 1e876686..51939b56 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -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: