From f649b5fd77607f1bef8943ff548d4330d9bc4e99 Mon Sep 17 00:00:00 2001 From: Grissess Date: Fri, 10 Jun 2016 01:37:28 -0400 Subject: Fixed constant for pitchbend --- mkiv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkiv.py b/mkiv.py index 218ea7b..7a4c7c7 100644 --- a/mkiv.py +++ b/mkiv.py @@ -364,7 +364,7 @@ for fname in args: if stream.WouldDeactivate(mev): base = stream.active.copy(abstime=mev.abstime) stream.Deactivate(mev) - stream.Activate(base, base.ev.pitch + options.deviation * (mev.ev.pitch / 2000.0)) + stream.Activate(base, base.ev.pitch + options.deviation * (mev.ev.pitch / float(0x2000))) found = True break if found: -- cgit v1.2.3-70-g09d2