<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 1, 2010, at 11:52 AM, Pedro Lopes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(34, 34, 34); "><div class="im" style="color: rgb(80, 0, 80); "> &gt; I am starting with Pd and have some questions:<br>&gt; - does Pd support multi-threading?<br></div>&gt;maybe someone else could answer this one in depth, i know that tim blechmann has worked on a fork &gt;which does this</span><div> <font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I'm interested in&nbsp;multi-threading&nbsp;"inside" pd, i.e..: could an external be compiled with openMP and have&nbsp;parallelization. Where can I find this?</span></font></div></blockquote><div><br></div><div>Parallelization is built into Pd, just put down objects, and they will run in parallel. &nbsp;Granted, Pd doesn't use threads to implement the&nbsp;<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; ">parallelization because it aims to be completely deterministic (basically, that means a patch run exactly the same everytime). &nbsp;Its difficult to write a deterministic program using standard threads.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; ">It sounds to me that you have a solution in your head looking for a problem, perhaps you could start with the problem?</span></div><div><br></div><div>.hc</div><br><blockquote type="cite"> <div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><br><div class="gmail_quote">On Tue, Nov 30, 2010 at 10:23 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<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"><div class="im"><br><div><div>On Nov 30, 2010, at 5:06 PM, tim vets wrote:</div><br> <blockquote type="cite"><br><br><div class="gmail_quote">2010/11/30 Xavier Miller <span dir="ltr">&lt;<a href="mailto:xavier.miller@cauwe.org" target="_blank">xavier.miller@cauwe.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  Hello, greetings from Belgium,<br> <br> I am starting with Pd and have some questions:<br> - does Pd support multi-threading? If not, is it possible to launch many Pd instances and sync them?<br></blockquote><div><br></div> <div>take a look at the [pd~] object&nbsp;</div><div>or you can simply run multiple pd instances and send messages between them...</div> <div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  - can Pd dynamically change its patches without stopping the engine? Can Pd unload some objects, open other patches, connect them?<br></blockquote><div><br></div><div>Yes, though you have to take care a bit. If you load huge files or create or delete many tilde objects, the dsp engine may be interrupted.</div>  <div>look at "dynamic patching", or 'pd-msg' stuff</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- can Pd run without GUI, even without X support?<br>  </blockquote><div><br></div><div>yes, do "pd -nogui", don't know if you have to have X running though, I suppose not?</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  - can Pd be embedded in an application, and controlled programmatically? (if not, I can use OSC)<br> <br></blockquote><div><br></div><div>We are using pd as a soundengine for a game development project. ( <a href="http://cityinabottle.org" target="_blank">cityinabottle.org</a> )&nbsp;</div> <div>The main program is python and pd is running in the background (-nogui) with OSC communication.</div></div></blockquote></div><div><br></div></div>That sounds very interesting, I'd love to hear more about it!<div> <br></div><div>.hc<br><div> <span style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br> <span style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div> <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>The arc of history bends towards justice. &nbsp; &nbsp; - Dr. Martin Luther King, Jr.</div><br></span></span> </div> <br></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><br clear="all"><br>-- <br>Pedro Lopes (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><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline">----------------------------------------------------------------------------<br></div><div><br></div>I hate it when they say, "He gave his life for his country." &nbsp;Nobody&nbsp;gives their life for anything. &nbsp;We steal the lives of these kids. &nbsp;-Admiral Gene LeRocque<br></span></div></span> </div><br></body></html>