[chuck-users] Shreds fade out

Michael Pierluissi michael.j.pierluissi at gmail.com
Sat May 30 18:52:56 EDT 2020


Hello Claudio!

I believe one way would be to have the trigger to activate an ADSR release.

i.e.

if(trigger) {
   adsr.keyOff();
   releaseDur => now;
   chuck - 1;
}

Or have the fade out trigger a milli counter that subtracts a Gain object before removing the shred

Good luck!

Best,

Michael Pierluissi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20200530/44d5d286/attachment.html>


More information about the chuck-users mailing list