-
... t(\v3, mkVoice.(\gA)); SamplerQuery.releaseGesture([\gA]); assertTrue.(setCalls.size == 2 and: {setCalls.every{|c| c == [\gA, \gate, 0]}}, "releaseGesture: exactly the two \\gA voices gated, \\gB untouched (got " ++ setCalls ++ ")"); Sample ...
-
... var scale = Scale.major.degrees.flat; inf.do{|n| var oct = (n / scale.size).floor; var degree = 12*oct + scale.wrapAt(n) + root; degree.yield; } }).asStream; }; r = Routine({ var durStream = ~dur.value(9, 14.5) ...
-
... t/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ //if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); if(0.005.coin, {sys.angularVel= 0.5.ra ...
-
... ray - an Array of channels or single output to write out. You cannot change the size of this once a SynthDef has been built. xfade is a level for the crossfade between what is on the bus and what you are sending. The algorithm is equivalent ...
-
... t/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ //if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); if(0.005.coin, {sys.angularVel= 0.5.ra ...
-
... foldl(false, { |state,x| state || f.(x) }) } includes { |x| ^this.any(_ == x) } size { ^this.foldl(0, _+1) } cycle { var f = { this.append({ { f.() } }) }; ^f.() } *repeat { |a| var g = { |a| LazyListCons(a, { this.repeat(a) }) }; ^g.(a) } ...
-
... and more explanations, see Dtag Arguments: bufnum a 1-channel buffer - when its size is reached, the process ends (dependent on mode ). Theoretically, tag systems have an infinite tape size - practically, one may want to try different finit ...
-
... escalableCtls = Set[]; task = TaskProxy({ var dt, index, event, ctlID, val, listSize, intro = true; index = (start * list.size).round.round.asInteger; "CtLoop task starts.".postln; loop({ listSize = list.size; if (list.isEmpty) { 0.1.wait; ...
-
... oblem: cleaning 'c' array (we are iterating over it) scanLinks = { (1 .. chains.size - 1).do { |i| // 1, 2, 3... if(chains[i].notNil) { block { |break| i.do { |j| // 0, 1 .. i-1 if(chains[j].notNil) { if(chains[j].last.canConnect(chains[i]. ...
-
... can be as low as 0.02 seconds, depending mainly on the server's hardware buffer size. This can be measured with: s.boot; // posts worst case of ping time s.ping(10, 0.2); // this is usually in the range of 2 x hardwareBufferSize s.options.h ...