2 summary:: Splay spreads an array of channels across the stereo field
3 categories:: UGens>Multichannel>Panners
4 related:: Classes/SplayAz, Classes/SplayZ
7 Splay spreads an array of channels across the stereo field.
8 Optional spread and center controls, and levelComp(ensation) (equal power).
30 x = { arg spread=1, level=0.2, center=0.0;
32 SinOsc.ar( { |i| LFNoise2.kr( rrand(10, 20), 200, 400) } ! 10),
40 x.set(\spread, 1, \center, 0); // full stereo
41 x.set(\spread, 0.5, \center, 0); // less wide
42 x.set(\spread, 0, \center, 0); // mono center
43 x.set(\spread, 0.5, \center, 0.5);
44 // spread from center to right
45 x.set(\spread, 0, \center, -1); // all left
46 x.set(\spread, 1, \center, 0); // full stereo
49 // the same example written with arFill:
51 x = { arg spread=1, level=0.2, center=0.0;
53 { |i| SinOsc.ar( LFNoise2.kr( rrand(10, 20), 200, i + 3 * 100)) },
65 src = SinOsc.ar( { |i| LFNoise2.kr( rrand(10, 20), 200, i + 3 * 100) } ! 10);
66 Splay.ar(src, MouseY.kr(1, 0), 0.2, MouseX.kr(-1, 1));