<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-01-05 13:55 GMT-02:00 Miller Puckette <span dir="ltr"><<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">And another use case - non-real-time (batch) audio rendering as in csound<br>
where you just allocate instances as you need 'em.  This definitely needs<br>
doing.<br></blockquote><div><br></div><div> recently, I was trying to figure out a way of doing a simple SuperCollider recursion code in Pd</div><div><br></div><div><font size="1">"<span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px">var function = { |i|</span></font></div><font size="1"><span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px">var osc = {SinOsc.ar(i, function.(i - 1))};</span><br style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px"><span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px">if(i >= 160, osc, 0)};</span><br style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px"><span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;letter-spacing:-0.24px">{function.(170) ! 2}.play)"</span></font><div><span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;font-size:14px;letter-spacing:-0.24px"><br></span></div><div><span style="color:rgb(29,33,41);font-family:"san francisco",-apple-system,system-ui,".sfnstext-regular",sans-serif;font-size:14px;letter-spacing:-0.24px">And the idea (instead of dynamic patching) was to have a method for [clone] </span><font color="#1d2129" face="san francisco, -apple-system, system-ui, .sfnstext-regular, sans-serif"><span style="font-size:14px;letter-spacing:-0.24px">to change the number of instances.</span></font></div><div><font color="#1d2129" face="san francisco, -apple-system, system-ui, .sfnstext-regular, sans-serif"><span style="font-size:14px;letter-spacing:-0.24px"><br></span></font></div><div><font color="#1d2129" face="san francisco, -apple-system, system-ui, .sfnstext-regular, sans-serif"><span style="font-size:14px;letter-spacing:-0.24px">yeah, definitely needs doing ;)</span></font></div><div><font color="#1d2129" face="san francisco, -apple-system, system-ui, .sfnstext-regular, sans-serif"><span style="font-size:14px;letter-spacing:-0.24px"><br></span></font></div><div><font color="#1d2129" face="san francisco, -apple-system, system-ui, .sfnstext-regular, sans-serif"><span style="font-size:14px;letter-spacing:-0.24px"><br></span></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
cheers<br>
<span class="gmail-HOEnZb"><font color="#888888">M<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
On Thu, Jan 05, 2017 at 04:45:15PM +0100, IOhannes m zmoelnig wrote:<br>
> On 2017-01-01 21:32, Miller Puckette wrote:<br>
> >  I can take on a larger list of smaller changes.<br>
> > The major changes I want to try to put in this release are as follows:<br>
><br>
> here's another one that emerged from my wishlist, after the few mentions<br>
> of [clone] in the last days:<br>
><br>
> add a method to clone to change the number of instances.<br>
> i understand that this is not a realtime operation, but a use-case could<br>
> look like:<br>
> - at startup, run a profiling patch estimating the CPU power of the machine.<br>
> - use that info to determine the number of voices my synth can handle today.<br>
><br>
> or:<br>
> - specify the number voices via a startup flag (to my script, which<br>
> passes the voice-number to Pd via "-send num_voices ${VOICES}", which<br>
> passes the voice-number to [clone])<br>
><br>
> fgmasdr<br>
> IOhannes<br>
><br>
<br>
<br>
<br>
<br>
</div></div><div class="gmail-HOEnZb"><div class="gmail-h5">> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div></div>