Slow/piecewise send of sysex?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I just created this question as a ticket
https://github.com/opensrc/alsa/issues/24 but was instructed to ask
here.

So:

I'm using amidi --send-hex to send data to a Commodore 64 via a CLab
MIDI interface. The problem is that even with 100 bytes the
probability of a buffer overrun is about 30%. I didn't find a way to
throttle the send speed. I also tried sending the data in smaller
chunks, but I cannot get amidi to send anything after the first chunk.
I suspect it refuses to send anything if the data doesn't start with
F0 i.e. sysex dump start.

If I am right about that assumption, as a workaround I could
encapsulate each chunk as a full sysex dump, but that requires extra
logic on the receiving side and it also wastes bandwidth, so I don't
really wish to do that.

Primarily I would prefer a way to throttle the speed, but if I cannot
have that, I would like to be able to send the data a few bytes at a
time in a simple shell loop.

- Ville Oikarinen
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux