-
... ros.notNil }, { //Only multiply factors if poles or zeros are supplied if(zeros.every({ |item| item.magnitude == 0 }), { acoefs = Polynomial[1] }, { acoefs = zeros.neg.multiplyFactors }); if(poles.every({ |item| item.magnitude == 0 }), { bc ...
-
... so here default repeats = inf of PLshuf has no effect: // new permutation with every loop as Pshuf has repeats = 1 ~a = [ Pshuf ((60..65)), 70, PLshuf ((75..80)) ]; // both Patterns have repeats = inf, // permutation is kept ~a = [ PLshuf ...
-
... ors[varCtrColorPairs[k][0] + varOffset].at(varCtrColorPairs[k][1]); varCtr[i+1].every(_.isSequenceableCollection).if { varCtr[i+1].do({|item,j| str = varCtr[i].asString ++ "[" ++ j.asString ++ "]" ++ " "; cview.decorator.nextLine; cview.dec ...
-
... |default, label, minval, maxval, warp, step| if( [ minval, maxval, warp, step ].every(_.isNil) ) { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label)) ); } { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label, ControlSpec ...
-
... |default, label, minval, maxval, warp, step| if( [ minval, maxval, warp, step ].every(_.isNil) ) { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label)) ); } { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label, ControlSpec ...
-
... h ++ "/time", clock.seconds.asString, freq); } ); // we want to get called once every 1/freq secs. (1.0/freq); } ); } ); } /** Stop sending */ stop { if (verbose == true, {"[OSCClockSender]: stopping..".postln; }); state = \stopped; } }
-
... Controller( next ) .put( \end, { if( next.isKindOf( UPattern ) or: { next.units.every({ |unit| unit.synths.size == 0 }) } ) { events[ note ].remove( next ); ctrl.remove; }; }); ^next; } startEvent { |note = 69, value = 0.5| events[ note ] = ...
-
... s and creates a Tuning basedon them. It can also generate a Scale that includes every interval in the Tuning. See Tuning for the principle methods. More information about the Scala file format, and a link to the scale library, can be found ...
-
... immediate? //perhaps need to have a version which doesn't keep updating volume every cut, only update if different CutMixer : CutSynth { var <outbus,<>ampfunc, <>panfunc, <>volume; var synthid; var lastvol, lastpan; *initClass { StartUp.ad ...
-
... dev/tty.AdafruitEZ-Link416c-SPP", 38400) // set the action to be performed with every new // reading of the sensor. yaw, pitch, and roll are // passed into your action function a.action = { |y,p,r| [ y,p,r ].raddeg.postln}; a.setHome a.clea ...