I think I just have to send messages to open a specific file, turn it on and turn it off! should be no big deal!<br>I was just trying the [pd~] object... it&#39;s too much for me... can&#39;t handle it... (specially under the stress I&#39;m having!)<br>
So... I&#39;ll try the udp I guess... but how do I do that?<br><br><div class="gmail_quote">2010/8/18 Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt">pedro.lopes@ist.utl.pt</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
p.s.: notice that my 40 sockets rarely have packets on them, its not poling intensive. Just from time to time, when users change stuff around..<br><br><div class="gmail_quote">2010/8/18 Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>&gt;</span><div>
<div></div><div class="h5"><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
On Wed, 2010-08-18 at 15:34 +0100, João de Brito Vidigal wrote:<br>
&gt; Since I&#39;m doing this to ease multiple video processing (up to 18 short<br>
&gt; videos), do you think it&#39;s ok to open several different net ports? or<br>
&gt; will it then get stuck with that!?<br>
<br>
</div>Most of the net classes in Pd I am aware of are not threaded, so yeah,<br>
this theoretically could be an issue. In practice it might not.<br>
<br>
The worst that can happen is when the receiving end point disappears<br>
without the sending end point noticing it. In such a case, the buffer of<br>
the sender gets filled and when it has reached the maximum, it blocks Pd<br>
completely. If both the sender and the receiver are running on the same<br>
box this very unlikely to happen. But still be aware of the buffer: If<br>
you send a lot of data, you might still be able to fill it, which would<br>
again cause drop outs. But again, if both are on the same box, it&#39;s<br>
unlikely you hit some bandwidth limit.<br>
<br>
Now after writing this, I realize that problems relating to buffering<br>
are specifcic to TCP. There is no need to do buffering for sending UDP,<br>
so using UDP should even be less likely to cause troubles.<br>
<font color="#888888"><br>
Roman<br>
</font><div><div></div><div><br>
<br>
<br>
<br>
&gt; 2010/8/17 Mario Mora &lt;<a href="mailto:maredmo@gmail.com" target="_blank">maredmo@gmail.com</a>&gt;<br>
&gt;         Hi Joao<br>
&gt;<br>
&gt;<br>
&gt;         You can achieve that by starting one instance of pd in the<br>
&gt;         usual way (for audio process by example) and the other one<br>
&gt;         using the terminal app , writing there the adress to the app<br>
&gt;         and starting it with the ./Pd-extended  command by<br>
&gt;         example....it is recommended that you start the pd instace for<br>
&gt;         video (gem) with -noaudio flag or, alternatively desctivating<br>
&gt;         the audio in the menu of the app.<br>
&gt;<br>
&gt;<br>
&gt;         I have used that approach with success for audio and video<br>
&gt;         processing in real-time like this:<br>
&gt;         <a href="http://www.vimeo.com/12532169" target="_blank">http://www.vimeo.com/12532169</a><br>
&gt;<br>
&gt;<br>
&gt;         hope it helps<br>
&gt;<br>
&gt;<br>
&gt;         bests<br>
&gt;<br>
&gt;<br>
&gt;         Mario<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         2010/8/17 João de Brito Rocha Reis Vidigal<br>
&gt;         &lt;<a href="mailto:jbvidigal@gmail.com" target="_blank">jbvidigal@gmail.com</a>&gt;<br>
&gt;                 I&#39;m using OSX<br>
&gt;                 I want to sync 2 PD&#39;s (not 2 PD patches). One to<br>
&gt;                 control sound the other to control video (GEM).<br>
&gt;<br>
&gt;<br>
&gt;                 &quot;(your OS can tell you in which CPU a process is<br>
&gt;                 running, there are several cmd tools in linux for<br>
&gt;                 that)&quot;<br>
&gt;                 can OSX do it as well?<br>
&gt;<br>
&gt;<br>
&gt;                 On 17 Aug 2010, at 16:15, Pedro Lopes wrote:<br>
&gt;<br>
&gt;                 Can you clarify this a bit further?<br>
&gt;<br>
&gt;                 What are the two things you want to sync? (Arduino and<br>
&gt;                 pd? No need for OSC for that...but very do-able)<br>
&gt;<br>
&gt;                 (your OS can tell you in which CPU a process is<br>
&gt;                 running, there are several cmd tools in linux for<br>
&gt;                 that)<br>
&gt;<br>
&gt;<br>
&gt;                 Best regards,<br>
&gt;                 Pedro<br>
&gt;<br>
&gt;                 2010/8/17 João de Brito Rocha Reis Vidigal<br>
&gt;                 &lt;<a href="mailto:jbvidigal@gmail.com" target="_blank">jbvidigal@gmail.com</a>&gt;<br>
&gt;                         Any idea on how to get the first Pd working<br>
&gt;                         with one  processor and the second with the<br>
&gt;                         other?<br>
&gt;<br>
&gt;                         I&#39;m using the Arduino firmata to trigger both<br>
&gt;                         sound and video. I think I can&#39;t open twice<br>
&gt;                         the same port! So how can I use the OSC then<br>
&gt;                         to sync the triggering!?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                         On 17 Aug 2010, at 16:05, Mathieu Bouchard<br>
&gt;                         wrote:<br>
&gt;<br>
&gt;                         On Tue, 17 Aug 2010, Pierre Massat wrote:<br>
&gt;<br>
&gt;                         &gt; Does this mean that in Linux and on a dual<br>
&gt;                         core machine one instance of Pd only uses one<br>
&gt;                         processor?<br>
&gt;<br>
&gt;                         No, it doesn&#39;t mean that.<br>
&gt;<br>
&gt;                         But all the messages and signals circulate in<br>
&gt;                         a since thread (on a single cpu) unless you<br>
&gt;                         use special tools to split it into several<br>
&gt;                         threads.<br>
&gt;<br>
&gt;                         Then there is the &quot;client process&quot;, which<br>
&gt;                         &quot;own&quot; the patch windows and the main window.<br>
&gt;                         This runs separately.<br>
&gt;<br>
&gt;                         Also, [soundfiler], some GEM input/output<br>
&gt;                         classes, and much of PDP, can run in an<br>
&gt;                         alternate thread.<br>
&gt;<br>
&gt;                         &gt; Is there a way to know which processor it<br>
&gt;                         uses, and whether it always uses the same<br>
&gt;                         processor?<br>
&gt;<br>
&gt;                         No idea... I still run a single-core all day<br>
&gt;                         long.<br>
&gt;<br>
&gt;                         _ _ __ ___ _____ ________ _____________<br>
&gt;                         _____________________ ...<br>
&gt;                         | Mathieu Bouchard, Montréal, Québec.<br>
&gt;                         téléphone: +1.514.383.3801<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                         _______________________________________________<br>
&gt;                         <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt;                         UNSUBSCRIBE and account-management -&gt;<br>
&gt;                         <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 --<br>
&gt;                 Pedro Lopes (ongoing MSc)<br>
&gt;                 contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>
&gt;                 website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 _______________________________________________<br>
&gt;                 <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt;                 UNSUBSCRIBE and account-management -&gt;<br>
&gt;                 <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt; 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>
<br>
<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>
</div></div></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Pedro Lopes (ongoing MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>
website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>


</div></div></blockquote></div><br>