What version of pd are you using?<br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 8:14 AM, patrick <span dir="ltr">&lt;<a href="mailto:puredata@11h11.com">puredata@11h11.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
update on this problem:<br>
<br>
instead of trying to rewrite the external, i was trying to use netsend (udp) / netreceive to send 17 messages (int) each 10 ms using 2 instances of pd (-nrt -nogui / pd -rt -jack). i have a strange behaviour with pd -rt -jack, i cannot click anywhere, it&#39;s frozen until i disable compute audio and then all my previous action (opening sub-patch) are working, but if i check compute audio again same problem? same goes for mrpeach external (osc).<br>

<br>
so it seems that flooding netsend / netreceive is not a good idea to avoid glitch. i have to find a way to make my external work with pd -rt -jack. this is the line that causing the glitch:<br>
<br>
nBytes = usb_control_msg(x-&gt;dev_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, EDUBEAT_CMD_POLL, 0, 0, (char *)buffer, sizeof(buffer), 10);<br>
<br>
is using pthread with a buffer would fix this problem?<br>
patrick<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br>