Hi Joao<div><br></div><div>You can achieve that by starting one instance of pd in the usual way (for audio process by example) and the other one using the terminal app , writing there the adress to the app and starting it with the ./Pd-extended  command by example....it is recommended that you start the pd instace for video (gem) with -noaudio flag or, alternatively desctivating the audio in the menu of the app.</div>
<div><br></div><div>I have used that approach with success for audio and video processing in real-time like this:</div><div><a href="http://www.vimeo.com/12532169">http://www.vimeo.com/12532169</a></div><div><br></div><div>
hope it helps</div><div><br></div><div>bests</div><div><br></div><div>Mario</div><div><br><br><div class="gmail_quote">2010/8/17 João de Brito Rocha Reis Vidigal <span dir="ltr">&lt;<a href="mailto:jbvidigal@gmail.com">jbvidigal@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">I&#39;m using OSX<div>I want to sync 2 PD&#39;s (not 2 PD patches). One to control sound the other to control video (GEM).</div>
<div class="im"><div><br></div><div>&quot;(your OS can tell you in which CPU a process is running, there are several cmd tools in linux for that)&quot;</div></div><div>can OSX do it as well?</div><div><div></div><div class="h5">
<div><br><div><div>On 17 Aug 2010, at 16:15, Pedro Lopes wrote:</div><br>Can you clarify this a bit further?<br><br>What are the two things you want to sync? (Arduino and pd? No need for OSC for that...but very do-able)<br>
<br>(your OS can tell you in which CPU a process is running, there are several cmd tools in linux for that)<br>

<br><br>Best regards,<br>Pedro<br><br><div class="gmail_quote">2010/8/17 João de Brito Rocha Reis Vidigal <span dir="ltr">&lt;<a href="mailto:jbvidigal@gmail.com" target="_blank">jbvidigal@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">


Any idea on how to get the first Pd working with one  processor and the second with the other?<br>
<br>
I&#39;m using the Arduino firmata to trigger both sound and video. I think I can&#39;t open twice the same port! So how can I use the OSC then to sync the triggering!?<br>
<div><div></div><div><br>
<br>
On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:<br>
<br>
On Tue, 17 Aug 2010, Pierre Massat wrote:<br>
<br>
&gt; Does this mean that in Linux and on a dual core machine one instance of Pd only uses one processor?<br>
<br>
No, it doesn&#39;t mean that.<br>
<br>
But all the messages and signals circulate in a since thread (on a single cpu) unless you use special tools to split it into several threads.<br>
<br>
Then there is the &quot;client process&quot;, which &quot;own&quot; the patch windows and the main window. This runs separately.<br>
<br>
Also, [soundfiler], some GEM input/output classes, and much of PDP, can run in an alternate thread.<br>
<br>
&gt; Is there a way to know which processor it uses, and whether it always uses the same processor?<br>
<br>
No idea... I still run a single-core all day long.<br>
<br>
_ _ __ ___ _____ ________ _____________ _____________________ ...<br>
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801<br>
<br>
<br>
</div></div><div><div></div><div>_______________________________________________<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><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><br></div></div></div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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>
<br></blockquote></div><br></div>