simplified pan variable

master
Luka Prinčič 2020-09-16 16:02:57 +02:00
parent 4326243c0a
commit f7fa235f92
1 changed files with 3 additions and 4 deletions

View File

@ -18,10 +18,9 @@ An example of:
fadeout = 5; // fade-out in, you guessed it, seconds! fadeout = 5; // fade-out in, you guessed it, seconds!
// panning left-right: from "-1" to "1". 0 is center. // panning left-right: from "-1" to "1". 0 is center.
// do you dare to put an UGen instead of floating point number? pan = 0;
pan = LFNoise1.kr(0.5).range(-1,1);
// a mono signal "inside" the Pan2 UGen will become stereo
// a mono signal "inside" the Pan2 UGen will become stereo with a pan
Pan2.ar( Pan2.ar(
in: in:
//...... your code .......... //...... your code ..........