[PD] external glitch with jack not with alsa why?

Rich E reakinator at gmail.com
Thu Jul 16 09:23:30 CEST 2009


What version of pd are you using?

On Thu, Jul 16, 2009 at 8:14 AM, patrick <puredata at 11h11.com> wrote:

> hi,
>
> update on this problem:
>
> 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'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).
>
> 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:
>
> nBytes = usb_control_msg(x->dev_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE
> | USB_ENDPOINT_IN, EDUBEAT_CMD_POLL, 0, 0, (char *)buffer, sizeof(buffer),
> 10);
>
> is using pthread with a buffer would fix this problem?
> patrick
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090716/f0f1153b/attachment.htm>


More information about the Pd-list mailing list