2 summary:: link between busses
3 categories:: Libraries>JITLib>NodeProxy
4 related:: Classes/NodeProxy
7 For playing contiguous channels to other contiguous busses, one uses strong::play::; for more complex routings, such as splitting, spreading etc to multiple channels, strong::playN::.
12 plays from a bus index with a number of channels to another index with a number of channels, within a target group, or a server.
15 keep old links and add new one
18 volume at which to monitor
25 the arguments strong::out::, strong::amp:: and strong::in:: can be nested arrays. see also link::Reference/playN::
28 array of destination channels
31 array of amplitudes for each channel
34 array of source channels
37 global scaling for amplitudes
42 argument::target, addAction
43 where to play (default: server default group)
46 returns true if the group is still playing
49 stops within the fadeTime
55 set the output index. doesn't work right now.
58 adds all playing osc messages to the bundle. the bundle should support the message strong::.add::
63 Server.default = s = Server.internal;
67 { Out.ar(87, SinOsc.ar(MouseX.kr(40, 10000, 1) * [1, 2, 3], 0, 0.2)) }.play;
72 x.play(87, 1, 0, 1); // in > out : now mixes down (wrapping)
73 x.play(89, 1, 0, 2); // in < out : now distributes to 2 channels
77 x.play(87, 1, 0, 2, multi:true);
78 x.play(88, 1, 0, 2, multi:true);
79 x.play(89, 1, 0, 2, multi:true);
83 subsection::multichannel playing
86 // examples: args are // outs, amps, ins, vol, fadeTime
90 [0, 1, 4], // to these outs
91 [0.1, 0.4, 0.3], // with these volumes
92 [87, 88, 89] // from these ins
97 [0, [1, 3, 2], 4], // outs can be nested: 87 -> 0, 88 -> [1, 3, 2], 89 -> 4
98 [0.1, [0.4, 0.2, 0.1], 0.3], // with nested volumes 0.1, [0.4, 0.2, 0.1], and 0.3
99 [87, 88, 89]); // reading from these ins
101 // can also set global volume and fadetime
102 x.playN(vol: 0.0, fadeTime:4);