-
... warded(req) ``` Parse the `X-Forwarded-For` header from the request. Returns an array of the addresses, including the socket address for the `req`, in reverse order (i.e. index `0` is the socket address and the last index is the furthest ad ...
-
... }, {"RPlay not playing".warn}) } } //args are passed to the funtion as a single array, which should be parsed inside the function /* s.boot; //example code SynthDef("sines", {arg freq1, freq2; var a; a = SinOsc.ar([freq1, freq2], 0, 0.3) * ...
-
... around a bug where asControlInput shouldn't be called controlNames { var res = Array.new; this.keysValuesDo { |key, value| var rate; // value = value.asControlInput; rate = if(value.rate == \audio) { \audio } { \control }; res = res.add(Co ...
-
( Alga.boot({ //Simple sine perc AlgaSynthDef(\sine, { Mix(Array.fill(100, { SinOsc.ar(\freq.kr(440)) })) * 0.01 * EnvPerc.ar(release: 0.5) }, sampleAccurate: true).add; //Tanh distortion AlgaSynthDef(\tanh,{ (\in.ar(0) * \dist.kr(3)).tanh ...
-
... []; selectors = this.selectors; if(selectors.notNil,{ refklasses = selectors.asArray.select({ arg lit; var klass; if(lit.isKindOf(Symbol) and: { lit.isClassName },{ klass = lit.asClass; klass.notNil },{ false }) }); ^refklasses.as(Identity ...
-
... true, inf], noteOnOffCtl: [true, true, true, inf] ); } *modeKeys { ^modes.keys(Array).sort } *new { |parent, bounds| ^super.new.init( parent, bounds ); } mode_ { |modeName| var modeValues = modes[modeName]; if (modeValues.isNil) { "%: mode ...
-
... s; } createComponent { this.createInputLevels; } createInputLevels { var inLevelArray; this.createLabel("Input meters").align_(\left); inLevelArray = Array.newClear(options.monitorInChannels); options.monitorInChannels.do{ arg i; inLevelArr ...
-
... = tmp[x.digit]; if(tmp.isCollection.not, { out.add(tmp); tmp= tree; }); }; ^out.array; } *binaryStringToBytes {|str| pad= 0; ^str.clump(8).collect{|x| while({x.size<8}, { x= x++0; pad= pad+1; }); x.sum{|bit, i| 1<<(x.size-1-i)*bit.digit}; } ...
-
... ne b Object two argVector Additional arguments for the constraint (should be an Array). type The type of constraint (ball,hinge,hinge2,universal,fixed,slide,piston) world Access to the DimpleWorld camera Access to the camera in dimple curso ...
-
... ^false }; } miSC_groupingFromIndices { var max = this.maxItem, groups; groups = Array.newClear(max + 1); this.do { |x,i| groups[x] = groups[x].add(i) }; ^groups } }