Skip to content
Search
mxm, IT's mad science
Sections
Welcome
News
Search
Replies
Personal tools
You are not logged in
Log in
You are here:
Home
»
Products
»
Open Source
»
Python Midi Package
»
another bug in pitch bend handling
Navigation
Home
Papers
Products
Open Source
mxmContacts
Python Midi Package
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)
@@ -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)