A general purpose class for monitoring or crosslinking between busses. It supports multichannel expansion and crossfading between settings. It provides optimizations for playing contiguous channels to other contiguous busses (-play) and for more complex routings, such as splitting, spreading etc to multiple channels (-playN). Monitor uses the existing set of SystemSynthDefs to do this.
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.
fromIndex |
bus index from which to read |
fromNumChannels |
number of channels to read from. |
toIndex |
bus index to which to write. |
toNumChannels |
number of channels to write. If this number is larger or smaller than fromNumChannels, wrap around. If nothing is given, uses fromNumChannels. |
target |
where to send the synths to (default: server default group) |
multi |
keep old links and add new one: this allows you to add layer after layer, otherwise free the previous mapping (false by default). |
volume |
volume at which to monitor |
fadeTime |
specifies the fade in and fade out time |
addAction |
where, relative to the target to place the monitor group. |
Plays from an array of bus indices to another array of bus indices with an array of amplitudes, within a target group, or a server.
The three arguments out, amp, and in will wrap if they do not have the same size, like this: [[0, 1], [0.1], [3, 4, 5]].flop
out |
array of destination channels. |
amp |
array of amplitudes for each channel |
in |
array of source channels |
vol |
global scaling value for amplitudes |
fadeTime |
specifies the fade in and fade out time |
target |
where to play (default: server default group) |
addAction |
where, relative to the target to place the monitor group. |
multi |
keep old links and add new one: this allows you to add layer after layer, otherwise free ther previous mapping (false by default). |
Stops within the fadeTime.
play
next time, it will play in the same configuration, overriding only values provided.
argFadeTime |
The time for fading out all routing synths. |
Stops within the fadeTime.
stop
, this removes all the settings.Set the volume.
Set or get the first output index.
Set or get the array of output bus indices.
Set or get the array of input bus indices.
Set the array of amplitudes.
Set or get the array of fadeTimes.
Set one single fadeTime for the next transition (may be a stop or a new play).
Returns true if the group is still playing.
Return the group in which all mapping synths are running.
Return the number of input channels.
Return a copy of the receiver, with the same channel setting, but not running. You can run it with the settings by sending it the -play message, and pass in any modifications you want to make.
Adds all playing osc messages to a bundle, passed as an argument. The bundle object should implement the method .add