[chuck-users] Timing Issue

Stefan Blixt stefan.blixt at gmail.com
Tue Jun 29 07:02:17 EDT 2010


I don't understand the question completely, but if you want a shred to have
a delay before it starts doing anything, just put a wait at the start of the
function:

fun void myShred(dur startDelay) {
  startDelay => now;
  // do stuff
}
spork ~ myShred(200::ms);

/Stefan

2010/6/29 Timothy Leonido <timothy.leonido at gmail.com>

> Hello, I have to preface this by saying that I may be missing an obvious
> answer, but what object will allow me to wait for an amount of time before a
> shred is active? Usually I set the gain to zero (on the otf 7 patch) for a
> few phrases and that works fine: after a minute, I can have a snare drum
> come in for a chorus. Though I'm afraid that there's a more logical way to
> do this... Thanks
>
>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>


-- 
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20100629/c4b117d4/attachment.html>


More information about the chuck-users mailing list