On 1/14/07, karl petermichl <audioworld@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.
 

and
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.

Yours,
Kas.