[PD] [PD-dev] midiout / sysex on windows

Georg Werner georg at fricklr.de
Thu Feb 4 22:27:00 CET 2010


hi,

i made an abstraction [sysexout] ;) - but i dont have hardware here to 
test it. so please do.
g.


Martin Peach:
> Yes, why not just send a list though?
> 
> It seems that in WinXP [midiout] sends 247(start sysex) followed by 
> 240(end sysex), the intervening message doesn't get transmitted. Also if 
240 and 247 are in the wrong order here according to the previous 
messages ...

> the message contains numbers > 127 then more bytes get transmitted, not 
> good.
> 
> Also as lists seem to be easier to generate than comma separated 
> messages, and a list already has its buffer allocated, there is no need 
> to reserve  1000 or so bytes just in case. Maybe someone should add a 
> list method to [midiout]?
> 
> Maybe rename it to [sysexout] and skip the need to put 247 and 240 in
> every message...
> 
> Martin
> 
> 
> cyrille henry wrote:
>>
>>
>> martin.peach at sympatico.ca a écrit :
>>> On linux with alsa midi, sysex output works this way:
>>>
>>> bang
>>> |
>>> [t    b     b    b    b]
>>> |     |     |    | [247( [123( [88( [240(
>>> |_____|_____|____|
>>> | |
>>> [midiout]
>>
>> this is the same than :
>> [240, 88, 123, 247(
>> (with coma)
>>
>> c
>>
>>>
>>> That is, banging all the values separately into [midiout] during one 
>>> message time slot.
>>> (Note the message is written backwards since the first byte to 
>>> transmit is the sysex status byte, 240)
>>> Banging them in one at a time manually only sends one byte, banging 
>>> them in as a list stops [midiout] from working until you reopen the 
>>> patch.
>>>
>>> Martin
>>>
>>>                            
>>> _______________________________________________
>>> Pd-dev mailing list
>>> Pd-dev at iem.at
>>> http://lists.puredata.info/listinfo/pd-dev
>>>
>>
>>
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sysexout.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100204/27e0d0e3/attachment.asc>


More information about the Pd-list mailing list