<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I don't know if I posted this to this thread already, but try out the 'many' lib, it has a few different approaches to managing many instances of Pd objects.</div><div><br></div><div><a href="http://download.puredata.info/many">http://download.puredata.info/many</a></div><div><br></div><div>.hc</div><br><div><div>On Sep 28, 2011, at 1:31 PM, Ludwig Maes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Perhaps better rephrased: how does one use arrays of .pd objects? or variable length vectors/lists?<br><br><div class="gmail_quote">On 28 September 2011 19:29, Ludwig Maes <span dir="ltr">&lt;<a href="mailto:ludwig.maes@gmail.com">ludwig.maes@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br> From: <b class="gmail_sendername">Ludwig Maes</b> <span dir="ltr">&lt;<a href="mailto:ludwig.maes@gmail.com" target="_blank">ludwig.maes@gmail.com</a>&gt;</span><br> Date: 28 September 2011 19:29<br>Subject: Re: [PD] Variable number of objects?<br>To: Ingo &lt;<a href="mailto:ingo@miamiwave.com" target="_blank">ingo@miamiwave.com</a>&gt;<br><br><br>I actually meant more in general, also for non-~ signals (i.e. also control rate .pd patches). I referred to polysynth such that people would see more easily what I meant. Are there really no such primitives? That seems like quite a restriction...<br> <br>How can that take 10 seconds?? I dont see what would cause such a huge overhead, i'd expect an increase in computations &amp; memory though (say from 10 voices to 11: 10% increase in cpu workload &amp; ram dedicated to these voices..., I fail to see what would necessitate a long initialization...)<br> <br>also, how is it done even with the long delays?<div><div></div><div><br><br><div class="gmail_quote">On 28 September 2011 18:33, Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com" target="_blank">ingo@miamiwave.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> To my experience there will be definitely audio dropouts with dynamic voice<br> creation. In the case of my rather complex patch (with currently only 8<br> voices) I have to wait up to ten seconds until the patch is ready again for<br> playback. I am using a 3.2 GHz Athlon II X2 which is not that slow. Simpler<br> synth voices might be faster, though.<br> <br> I think it is much better to create as many voices as needed beforehand and<br> turn unused voices off with the [switch~] object.<br> <br> Ingo<br> <br> ________________________________________<br> Von: <a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a> [mailto:<a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a>] Im Auftrag von<br> Ludwig Maes<br> Gesendet: Mittwoch, 28. September 2011 17:56<br> An: Pd List<br> Betreff: [PD] Variable number of objects?<br> <div><div></div><div><br> Im not sure what the best way is to instantiate variable number of objects,<br> for example consider polysynth.pd:<br> <br> Theres a fixed number of manually placed voices, suppose I want to have the<br> top patch to contain a counter through which one may increase or decrease<br> the number of voices, how would I go about that (without manually placing a<br> load of voices and disabling them...)?<br> <br> Whats the vanilla way to do this? Whats the pd-extended way to do this? ...<br> <br> </div></div></blockquote></div><br> </div></div></div><br> </div></div></blockquote></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">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-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; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Using ReBirth is like trying to play an 808 with a long stick. &nbsp; &nbsp;-David Zicarelli</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>