Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » Python Midi Package » another bug in pitch bend handling
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: Python Midi Package » Bug in pitch bend output

another bug in pitch bend handling

Posted by Anonymous User at 2008-10-02 12:48 AM
I forgot to submit this other change necessary to get pitch bends working. It's in EventDispatcher.py

@@ -126,7 +126,7 @@
stream.channel_pressure(channel, pressure)

elif (PITCH_BEND & 0xF0) == hi_nible:
- hibyte, lobyte = data
+ lobyte, hibyte = data
value = (hibyte<<7) + lobyte
stream.pitch_bend(channel, value)