I agree it&#39;s a bug.<br>
So far I&#39;ve done a simple c program that outputs the sysex correctly, so I would be able to patch.<br>
The thing is that if we keep midiout object we need to change it&#39;s 
interface (because it would have to accept a list instead of a float). 
So maybe better to create a new object sysexout?<br>
<br>
PS: On the other hand I need some help building/configuring, I open another thread...<br><br><div class="gmail_quote">On 27 October 2010 09:36, Martin Peach <span dir="ltr">&lt;<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On 2010-10-27 06:10, Enrique Vetere wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi.<br>
I&#39;ve been trying to use midiout but it does not work when sending sysex<br>
because it sends 1 byte at a time.<br>
Chatting with matju on #irc where he showed me the source code, I think<br>
the problem is that midiout uses ultimately sys_alsa_putmidibyte to send<br>
<br>
snd_seq_ev_set_sysex(&amp;ev,1,&amp;data)<br>
<br>
one byte at a time<br>
<br>
So we thought about writing an external that uses alsa-midi functions<br>
and he guided me the first steps.<br>
Now, the problem is that this external would need access to structure<br>
midi_handle, and variables alsa_midioutfd and alsa_nmidiout which are<br>
defined in s_midi_alsa.c (because creating and opening ALSA ports is<br>
handled there). The functions provided by s_midi are not good enough as<br>
I need to<br>
<br>
snd_seq_ev_set_sysex(&amp;ev, data_array_size,data_array)<br>
<br>
So my question is: is it possible to write such external? or I need to<br>
patch the sources?<br>
</blockquote>
<br></div></div>
IMHO this is a bug, so you should patch the source, then submit the patch to the tracker. Also it seems to bug differently on different OSs, only linux uses alsa. Pd&#39;s sysex implementation didn&#39;t work properly on WIN32 either last time I checked.<br>
<font color="#888888">
<br>
Martin<br>
</font></blockquote></div><br>