2 summary:: Spreads an array of channels across a ring of channels
3 categories:: UGens>Multichannel>Panners
4 related:: Classes/PanAz, Classes/SplayAz
7 SplayZ spreads an array of channels across a ring of channels.
8 Optional spread and center controls, and levelComp(ensation) (equal power).
9 numChans and orientation are as in PanAz.
12 ATTENTION - SplayZ is deprecated because its geometry is wrong. It is only kept for backwards compatibility - please adapt your patches to link::Classes/SplayAz::! See link::Classes/SplayAz:: help file for the comparison in behavior.
24 argument:: orientation
35 argument:: orientation
41 x = { arg spread=1, level=0.2, width=2, center=0.0;
44 SinOsc.ar( { |i| LFNoise2.kr( rrand(10, 20), 200, i + 3 * 100) } ! 10),
53 x.set(\spread, 1, \center, 0); // full n chans
54 x.set(\spread, 0.5, \center, -0.25); // less wide
55 x.set(\spread, 0, \center, 0); // mono center (depends on orientation, see PanAz)
56 x.set(\spread, 0, \center, -0.25); //
57 x.set(\spread, 0.0, \center, 0.5); // mono, but rotate 1 toward the higher channels
58 x.set(\spread, 0.5, \center, 0.5); // spread over the higher channels
59 x.set(\spread, 0, \center, -0.25); // all first
60 x.set(\spread, 1, \center, 0); // full n chans
64 // the same example written with arFill:
66 x = { arg spread=1, level=0.5, width=2, center=0.0;
70 { |i| SinOsc.ar( LFNoise2.kr( rrand(10, 20), 200, i + 3 * 100) ) },
79 // or with mouse control
82 src = SinOsc.ar( { |i| LFNoise2.kr( rrand(10, 20), 200, i * 100 + 400) } ! 10);
83 SplayZ.ar(4, src, MouseY.kr(1, 0), 0.2, center: MouseX.kr(-1, 1));