[chuck-users] chuck neophyte trying to remove clicks via Envelope patch

Perry R Cook prc at CS.Princeton.EDU
Wed Nov 25 10:53:22 EST 2009


Try this simple fix:

  Std.rand2f(0,1) => float g;
//  g => s1.gain;  // Don't 
//  g => s2.gain;  //   set the 
//  g => s3.gain;  //      oscillator gains
//  g => s4.gain;  //          individually
//                    which causes clicks 

  g => e.target;   // let the envelope do the smoothing


More information about the chuck-users mailing list