diff --git a/android/src/com/levien/synthesizer/android/usb/UsbMidiDevice.java b/android/src/com/levien/synthesizer/android/usb/UsbMidiDevice.java index 772fcd7..5354398 100644 --- a/android/src/com/levien/synthesizer/android/usb/UsbMidiDevice.java +++ b/android/src/com/levien/synthesizer/android/usb/UsbMidiDevice.java @@ -115,7 +115,7 @@ public class UsbMidiDevice { } if (payloadBytes > 0) { //Log.d("synth", "sending midi"); - MessageFromBytes.send(mReceiver, buf, 1, payloadBytes); + MessageFromBytes.send(mReceiver, buf, i + 1, payloadBytes); } } }