[chuck-users] Bulk handling of multiple instances

Kassen signal.automatique at gmail.com
Sun Jan 14 17:14:57 EST 2007

On 1/14/07, karl petermichl <audioworld at gmail.com> wrote:
> If you do not mind, two more questions: Is there a STEREO GAIN object,

Is there any reason not to use the ".gain" function that all ugen's
including "pan2" have? The one thing I can imagine is that doing that you
could no longer change the volume for the whole thing in one line.

> how can I avoid the very loud KLICK at the very beginning in the shred? I
> tried fading up the gain very slowly with this code:
> 0.001=>float i;
> while (i<.9) { i=>g.gain; 1.001*i=>i; 10::samp=>now;}
> //this works and removes the click, but only in MONO....

I'd think about using a "Envelope" Ugen before the pan or a loop like yours
here aplied to Pan2.gain as well.

I realise that doesn't litteraly answer the question of stereo gains but
those tricks should work anyway and they are nicely simple.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20070114/4a2ccc5f/attachment.htm 

More information about the chuck-users mailing list