Re: [LAD] Weird USB MIDI sysex problem

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Sat Aug 31 2013 - 12:34:33 EEST

Gordon JC Pearce wrote:
> I'm having some really odd behaviour trying to send sysex to a synth
> where I can only send (using snd_rawmidi_write) in three-byte blocks.

The USB MIDI protocol happens to send SysEx data in groups of three
bytes, but this does not need to concern you because any remaining bytes
are flushed at the end of each message.

> The only exception is if I send something not a multiple of three
> bytes but terminate the transfer with 0xf7, it will send
> everything including the 0xf7 - but this kills the sysex transfer.

_Every_ SysEx message must be terminated with F7.

What do you mean with "kills"?

> Is it really impossible to just send raw bytes over a USB MIDI cable?

It is possible to send MIDI messages over a USB MIDI cable.

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Sep 1 00:15:01 2013

This archive was generated by hypermail 2.1.8 : Sun Sep 01 2013 - 00:15:02 EEST