[LAD] Sending huge SysEx files via ALSA

Christoph Eckert ce at christeck.de
Sun Jul 26 22:17:18 UTC 2009


Hi,

I'm currently playing with some code that sends SysEx data to ALSA using 
RtMidi¹. I get an error reported by the latter one as soon as the size of the 
message exceeds 16355 bytes. Unfortunately, I have such SysEx files of two 
devices (namely a Waldorf Microwave I and a Digitech Studio Quad).

Can anyone comment whether this is a limitation in ALSA, and in case it is if 
there are coding workarounds? AFAIR ALSA splits incoming SysEx-events into 
chunks of 256 bytes if necessary. But I obviously overlooked that sending is 
much harder when I played with SysEx data the last time :) .

Best regards,

ce

¹ http://www.music.mcgill.ca/~gary/rtmidi/

uname -a
Linux Grandevitesse 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 
2009 i686 GNU/Linux

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

rtmidi-1.0.10





More information about the Linux-audio-dev mailing list