<div><div dir="auto">Hi!</div></div><div dir="auto"><br></div><div dir="auto">Shreds block when you don’t advance time. If you don’t advance time, then ChucK assumes you need all the current computation for the next audio sample. Is there a place during your long computation where you could wait one sample every so often (1::samp =&gt; now;)? For example, in the body of a loop. </div><div dir="auto"><br></div><div dir="auto">Jack</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 15, 2018 at 3:38 AM Gonzalo &lt;<a href="mailto:gonzalo@dense13.com">gonzalo@dense13.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m working on a big project (<a href="http://www.whole-play.com" rel="noreferrer" target="_blank">www.whole-play.com</a>), tons of classes, tons <br>
of calculations happening at various points. My problem is that some of <br>
these calculations take too long, up to a few seconds. I thought if I <br>
run them in their own shred, the main shred would be unaffected, but <br>
it&#39;s not the case, and the music stops during those processes. Maybe I&#39;m <br>
doing something wrong. I can&#39;t post sample code because it&#39;s many <br>
classes interacting, but I thought maybe someone has ideas on how to <br>
tackle this issue?<br>
<br>
Thanks!<br>
Gonzalo<br>
<br>
<br>
-- <br>
<a href="http://dense13.com" rel="noreferrer" target="_blank">http://dense13.com</a><br>
<a href="http://www.whole-play.com" rel="noreferrer" target="_blank">http://www.whole-play.com</a><br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br>
<br>
</blockquote></div></div>