-
... gs = ar }, { args = [ar] }); // same thing for patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things nodes = Array.new(voices); // must add the nodes incrementally lcm = th.size.lcm(args.size); voic ...
-
... ]; // user extensible: define your own functions to add objects as synthdefs // String and Symbol are supported by nil ~classActions = IdentityDictionary[ 'SynthDef' -> \makeSynthDef, // as it happens, these can be the same b/c of asSynthDe ...
-
... a1(data, tmpname: tmpname); fh = Pipe.new(gnuplotpath + "-persist", "w"); fh.putString(initCode); fh.putString("plot \"" ++ tmpname ++ "\" title \"\" \n"); fh.close; } *bootDefault{ if ( default.isNil ){ default = GNUPlot.new; ShutDown.add( ...
-
... a1(data, tmpname: tmpname); fh = Pipe.new(gnuplotpath + "-persist", "w"); fh.putString(initCode); fh.putString("plot \"" ++ tmpname ++ "\" title \"\" \n"); fh.close; } *bootDefault{ if ( default.isNil ){ default = GNUPlot.new; ShutDown.add( ...
-
... func.value(this) }) }); if(timeout.notNil,{ { if(happened.not,{ msg = status.asString + "timeout" +this+listener; if(throwErrorOnTimeout,{ Error(msg).throw },{ msg.warn }); nr.remove }); nil }.defer(timeout) }); ^nr } // these always call ...
-
... unc.value(this) }) }); if(timeout.notNil, { { if(happened.not, { msg = status.asString + "timeout" +this+listener; if(throwErrorOnTimeout, { Error(msg).throw }, { msg.warn }); nr.remove }); nil }.defer(timeout) }); ^nr } // these always cal ...
-
... (~emptyArrayWarning) { "BP(%): Delta array is empty".format(~collIndex.asCompileString).warn; }; Pn(Rest(~beatsPerBar.()), 1) } { Pseq(deltas, 1) }; }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compact ...
-
... y(incLabels, arr) }); ^arr; } dumpTree { |maxDepth=inf| (" ".dup(depth).flat.as(String) ++ if(depth!=0, {if(this.isLeftChild, {"l"}, {"r"})}, {""}) ++ location + " (id" + uniqueid++"):" + label + if(notDeleted.not, {"---DELETED"}, {""})).po ...
-
... y(incLabels, arr) }); ^arr; } dumpTree { |maxDepth=inf| (" ".dup(depth).flat.as(String) ++ if(depth!=0, {if(this.isLeftChild, {"l"}, {"r"})}, {""}) ++ location + " (id" + uniqueid++"):" + label + if(notDeleted.not, {"---DELETED"}, {""})).po ...
-
... eAll; [a,b,c,d].do({ |i,j| (time/dt).asInteger.collect{ i.next }.plot(i.class.asString,bounds: Rect (0,200*j,600,200),minval:min,maxval:max)}); r = 6.collect{ c.next.round(0.000001) }; ) //checks out with http://people.revoledu.com/kardi/tu ...