-
GenericSpace : EnvironmentRedirect { var <>proxyspace; *new { arg server, clock; ^super.new.init(server, clock) } *push { arg server, clock; if(name.isNil and: { currentEnvironment.isKindOf(this) }) { currentEnvironment.clear.pop }; // avoi ...
-
// SuperDirt and ProxySpace // because the default startup file use the default current Environment, you need a little trick to use ProxySpace directly. // when you switch to a different file, your environment will be the "normal" one. ( if ...
-
... rectory. NPModules { classvar <parentDict; classvar <all; var <moduleDict; var <proxyspace; *initClass { this.registerToAbstractPlayControl; all = (); parentDict = ( sine: {|dict| // var freq = dict[\freq] ?? {{\freq.kr(440)}}; { var freq = ...
-
public ProxySpace distributed system this is an example how to create a networked proxyspace. Using a dispatch such as Public , a changes to a ProxySpace can be transmitted by code to a remote (or local) other ProxySpace and is compiled the ...
-
+ ProxySpace { setEvent { |event| var out = (type: \psSet, gt: 1, t_trig: 1, proto: (proxyspace: this)); if(event.isKindOf(Dictionary)) { out.putAll(event) }; ^out } }
-
JMMIDI { var <proxyspace; var <channel; var uid, <midiFuncs, notes; *new { |proxyspace, channel| if(MIDIClient.initialized.not) { MIDIIn.connectAll; }; ^super.new.init(proxyspace, nil, channel) } *newByName { |proxyspace, device(""), name(" ...
-
... nary intended for random support data var <>home; // possibly a PlonkSetup var <proxyspace; // holds the NodeProxy at the specified key *new {|key, proxyspace| ^super.new.init(key, proxyspace); } init {|argKey, argProxyspace| proxyspace = a ...
-
... |environment| var interpreterVars, varNames = [], envs = []; var pSpaces = [], proxySpace; interpreterVars = #[a,b,c,d,e,f,g,h,i,j,k,l,m,n,p,q,r,s,t,u,v,w,x,y,z]; varNames = varNames ++ interpreterVars.select({ |n| thisProcess.interpreter. ...
-
... .interpreter; ^globalNames.count { |glob| interp.perform(glob).notNil }; } *findProxySpace { var space = if (currentEnvironment.isKindOf(ProxySpace), currentEnvironment); if (space.notNil) { ^space }; if (thisProcess.interpreter.p.isKindOf( ...
-
... ng. \ // Julian Rohrhuber 2007 \ \ /*\ \ \ This program will give access to any ProxySpace (or subclass of LazyEnvir / EnvironmentRedirect) that is present as current environment. If none is present, it will create a ProxySpace and push it. ...