-
... nil, { ~wasDone = false }); //Stop previous one r.stop; }); //Re-assign the new routine r = Routine.run({ var env = Env([0, 1, 0, 1], [1, 2, 3]); var time = 5; var delta = 0.1; var counter = 0; var done = false; var timesSum = env.times.sum ...
-
... ProteinBioSynthesis main folder AminoacidPattern2 : CodonPattern { asStream { ^Routine({ var numstream, triplstream; triplstream = super.asStream; numstream = super.asStream.collect({ arg item; this.translate(item) }); loop({ [numstream.ne ...
-
... } *check {arg num, func; if(classlock) { classchord = classchord.add(num); } { Routine({ classlock = true; classchord = [num]; waittime.yield; func.value(classchord.sort.removeDups); classlock = false; }).play; }; } init {} check {arg num, ...
-
... 1, offset=0; ^super.new(genome).repeats_(repeats).offset_(offset) } asStream { ^Routine.new({ arg inval; var item, offsetValue; offsetValue = offset.value; repeats.value.do({ arg j; this.size.do({ arg i; item = genome @@ (i + offsetValue); ...
-
... sStates = anArray; // Defer the refresh call // because we're probably inside a routine { this.refresh; }.defer; } reset { thisStates = Array.fill(thisCycles.size, { 0 }); // Defer the refresh call // because we're probably at the end of a ...
-
... .) before playAction executes. You should fork a thread in this function (eg. a Routine) wait until you are done with your initialization and should call "signal" on your parent MoltenMaster instance. playAction_(arg1) playAction The action ...
-
... er.default.waitForBoot({ // p = PathName.new(Quarks.folder ++ "/Dirt-Samples"); Routine.run({ p.entries.do({ |thisEntry| if( thisEntry.isFile, { // loads a single file (if a valid extension) SCLOrkSamples.loadFile(thisEntry.fullPath); time. ...
-
... alette; var fnt= Font.monospace(10); //--functions and objects var sendOsc; var routine; var plate= #[ [0, 1, 2, 3, 4, 5], [6, 7, 8, 9, 10, 11], [12, 13, 14, 15, 16, 17], [18, 19, 20, 21] ]; var external= #[ [80, 81, 82, 83, 84, 85], [86] ] ...
-
... ) % 20 ).asStream; ~condition = Condition(false); ~clock = TempoClock.default; ~routine = Routine({ loop { ~player !? _.stop(); // stop the old one, if there is an old one ~player = EventStreamPlayer(~stream, Event.parentEvents.default); ~p ...
-
... jedahl 2010-2011 //todo: use SkipJack for permanent clocks or just recreate the routine at cmdperiod? ClockAudioMulch : TempoClock { var <>addr, <>tick= 0, <>shift= 0, task; *new {|tempo, beats, seconds, queueSize= 256, addr| ^super.new.ini ...