billthefarmer / mididriver

Android midi driver using Sonivox EAS library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

send program change & channel pressure events

vanferry opened this issue · comments

Since Program Change and Channel Pressure events are 2 bytes, so I only send 2 bytes buffer for boolean write(byte buffer[]), then it work well.

"
boolean write(byte buffer[]) Writes midi data to the Sonivox
synthesizer. The length of the array should be the exact length of
the message or messages. It seems to ignore three byte program
change messages, for example. Returns true on success, false on
failure.
"

Ok, fine I will remove that comment.