aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrissess <grissess@nexusg.org>2016-06-10 01:37:28 -0400
committerGrissess <grissess@nexusg.org>2016-06-10 01:37:28 -0400
commitf649b5fd77607f1bef8943ff548d4330d9bc4e99 (patch)
tree9804987b74a0725a1c80a6b673b1dbc3c38268df
parent37c9df9fe7d6c9faace591d726266a86f503aab6 (diff)
Fixed constant for pitchbend
-rw-r--r--mkiv.py2
1 files changed, 1 insertions, 1 deletions
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: