Generally a proxy is a placeholder for something. A node proxy is a placeholder for something playing on a server that writes to a limited number of busses (e.g. a synth or an event stream). NodeProxy objects can be replaced and recombined while they play. Also they can be used to build a larger structure which is used and modified later on. Overview: JITLib
When accessed, ProxySpace returns a NodeProxy. A similar class without environment: Ndef
For more examples see: ProxySpace examples, jitlib_basic_concepts_01
For GUI overview, see ProxyMixer. See NodeProxy for many relevant methods.
server |
a Server object. Note that on remote computers the clock must be in sync. |
name |
a Symbol. If a name is given, the proxy space is stored in |
clock |
for event-based or beat-sync playing use a TempoClock. |
replace the currentEnvironment with a new ProxySpace and clear the current one, if it is a ProxySpace (this is to avoid piling up proxy spaces).
In order to move to another ProxySpace while keeping the current, use pop and then push a new one. To have multiple levels of proxy spaces, use .new.push;
restore the previous currentEnvironment
clear all registered spaces
returns a group that plays the NodeProxy at that key.
key |
a Symbol |
out |
output channel offset |
numChannels |
play this number of channels. |
returns a RecNodeProxy that records the NodeProxy at that key.
returns a NodeProxy output that plays the NodeProxy at that key, to be used within a function used as input to a node proxy
when the proxyspace is created without a running server this method can be used. To run it (internally this is done by -play as well).
set the fadetime of all proxies as well as the default fade time
set the clock of all proxies as well as the default clock.
set the quant of all proxies as well as the default quant.
free all proxies (i.e. free also the groups, do not stop the monitors)
release all proxies (i.e. keep the groups running)
stop all proxies (stop only monitors, do not stop synths)
end all proxies (free and stop the monitors)
clear the node proxy and remove it from the environment. this frees all buses. If a fadeTime is given, first fade out, then clear.
add the ProxySpace to the repository (name required)
remove the ProxySpace from the repository
The rate and numChannels of the NodeProxy determined in a lazy way from the first object put into this environment (see helpfile). Once it is created it can only be set to a function that returns the same rate and a number of channels equal to the intial one or smaller. For details, see the_lazy_proxy.
Gets the NodeProxy at key (if none exists, returns a new one) and sets its source to obj. For how this works, see also LazyEnvir and NodeProxy.
Return the proxy source object at that key.
free and remove all proxies that are not needed in order to play the ones passed in with 'exclude'. if none are passed in, all proxies that are monitoring (with the .play message) are kept as well as their parents etc.
free all proxies that are not needed in order to play the ones passed in with 'to'. if none are passed in, all proxies that are monitored (with the play message) are kept as well as their parents etc.
Copies the environment into a new one, with each proxy being copied as well (See: NodeProxy: -copy). Also the instance variables that determine the ProxySpace behaviour are included, such as server, fadeTime, quant, reshaping (this happens in the copyState
method).
creates a new document with the current proxyspace state. This does not allow open functions as proxy sources. see: jitlib_asCompileString.
keys |
list of keys to document a subset of proxies |
onlyAudibleOutput |
a boolean. |
includeSettings |
a boolean. |
If proxyspace is globally accessible, this posts a code string that can access it.