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.
16 argument::fromNumChannels
20 argument::toNumChannels
23 where to play (default: server default group)
26 keep old links and add new one
29 volume at which to monitor
38 the arguments strong::out::, strong::amp:: and strong::in:: can be nested arrays. see also link::Reference/playN::
41 array of destination channels
44 array of amplitudes for each channel
47 array of source channels
50 global scaling for amplitudes
56 where to play (default: server default group)
61 returns true if the group is still playing
64 stops within the fadeTime
70 set the output index. doesn't work right now.
73 adds all playing osc messages to the bundle. the bundle should support the message strong::.add::
78 Server.default = s = Server.internal;
82 { Out.ar(87, SinOsc.ar(MouseX.kr(40, 10000, 1) * [1, 2, 3], 0, 0.2)) }.play;
87 x.play(87, 1, 0, 1); // in > out : now mixes down (wrapping)
88 x.play(89, 1, 0, 2); // in < out : now distributes to 2 channels
92 x.play(87, 1, 0, 2, multi:true);
93 x.play(88, 1, 0, 2, multi:true);
94 x.play(89, 1, 0, 2, multi:true);
98 subsection::multichannel playing
101 // examples: args are // outs, amps, ins, vol, fadeTime
105 [0, 1, 4], // to these outs
106 [0.1, 0.4, 0.3], // with these volumes
107 [87, 88, 89] // from these ins
112 [0, [1, 3, 2], 4], // outs can be nested: 87 -> 0, 88 -> [1, 3, 2], 89 -> 4
113 [0.1, [0.4, 0.2, 0.1], 0.3], // with nested volumes 0.1, [0.4, 0.2, 0.1], and 0.3
114 [87, 88, 89]); // reading from these ins
116 // can also set global volume and fadetime
117 x.playN(vol: 0.0, fadeTime:4);