Explorar el Código

Fixed constant for pitchbend

Grissess hace 9 años
padre
commit
f649b5fd77
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mkiv.py

+ 1 - 1
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: