[PD] Maximum length of sysex messages?
Alex
x37v.alex at gmail.com
Sat Jan 17 05:06:38 CET 2009
I've been investigating further, I haven't figured out where, in the
source, the problem occurs.. the alsa input midi buffer is quite large
[much larger than 226 bytes],
When testing with amidi, this is the largest message i can send to pd:
F0 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 F7
so I'm doing:
amidi -p hw:2,0 -S "F0 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 F7"
I'm using a virtual device to echo the data to an amidi -d instance as
well as to pd..
amidi -d gets all messages i send... larger ones like:
F0 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 F7
but pd doesn't display any output at all from [midiin] or [sysexin]
-Alex
On Fri, Jan 16, 2009 at 3:08 PM, Alex <x37v.alex at gmail.com> wrote:
> I made a little test which I've attached.
>
> With alsa I can receive a maximum sysex message of 98 data bytes [100
> total including the start and end]. I've tried this with a hardware
> loopback (plugging my output into my input) and using a virtual
> device.
>
> With the default midi [portaudio?] I can receive 128 data bytes [130 total].
>
> I've attached my test patch [it requires a counter that I've also attached].
>
> Any idea where these limits are set?
>
> -Alex
>
> On 1/16/09, Alex <x37v.alex at gmail.com> wrote:
>> I am trying to get a sysex dump into pd, this dump is 226 bytes long.
>> I use alsa for midi. I'm using pd 0.41.4.
>>
>> I am able to send the sysex data from pd to my device, and the device
>> sends the data back [I can verify the dump with amidi] but once I
>> connect my device's output to pd.. I don't see the data in pd
>> [sysexin] or [midiin]
>>
>> I've also tried initiating the dump from the device itself (a
>> synthesizer), I get the same results.. amidi -d will show it but I
>> don't see the data on pd's [midiin] or [sysexin] inputs once I connect
>> the device to pd.
>>
>> So my question is: is anyone aware of a hard coded limit for the length of sysex
>> messages in pd? I'd like to increase this limit if possible..
>>
>> Thanks,
>>
>> Alex
>>
>
More information about the Pd-list
mailing list