billthefarmer/mididriver

send program change & channel pressure events

vanferry opened this issue · 1 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.