<div dir="ltr">On Thu, Oct 9, 2008 at 6:31 PM, Stephen Sinclair <span dir="ltr">&lt;<a href="mailto:radarsat1@gmail.com">radarsat1@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
</div>The problem that was brought up on the forum was how to do a bunch of<br>
intensive computation before starting the audio synthesis running,<br>
without causing problems. &nbsp;I think I took the liberty of generalizing<br>
the question into how can we do a lot of computation _anywhere_ in a<br>
chuck program without stalling the other shreds and causing havoc with<br>
the dac.<br>
</blockquote><div><br>Hi, I was the original poster in that forum thread, and I&#39;d just like to chime in with my thoughts.&nbsp; At first I was merely wondering about what will happen with heavy processing loads; I had no specific timing scenario in my mind, but I did suggest the &quot;compute all before audio begins&quot; method, but that certainly isn&#39;t all that interests me.&nbsp; Everyone&#39;s responses so far have shed some much needed light on the situation, thanks.&nbsp; <br>
<br>I REALLY like the idea behind this code:<br>&nbsp;me =&lt; now; // step outside time<br>
 &nbsp;doallwork();<br>
 &nbsp;me =&gt; now; // step back<br>but I guess using OSC would be a similar method, wouldn&#39;t it.<br><br>However, (and maybe my chuck newbness will start to show in this question) what if I was working on an algorithm that required the previous audio sample&#39;s value before the next audio sample could be calculated, and those calculations were extremely computationally intensive?&nbsp; The physical constraints of the computer simply wouldn&#39;t be able to keep audio flowing at audio rates, but would chuck be able to output the sound to an audiofile?&nbsp; If I chuck both this mythological algorithm file and the <a href="http://rec.ck">rec.ck</a> (from the examples) to the same VM, will the audio file output slowly fill with the correct sequence of audio samples (my gut tells me yes)?<br>
<br>Hmm, now to go build a Beowulf cluster to OSC a bunch of code to...<br>Thanks again for the wonderful ideas/perspectives/thouhts.<br>-Eric Hedekar<br></div></div><br>
</div>