-
... ln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine.run{ 1.wait; inf.do{ a.play(a.loadedKeys.choose.postln, 4, 2.rrand(6), 4, loop:2); 2.rrand(5).wait; }; }; ) r.stop; a.free; ⧉ ✔ //--example that chops u ...
-
... not parse file header".format(this.class).error; }); } start { task.stop; task= Routine({this.prTask}).play(SystemClock); } stop { "%: stopping file playback".format(this.class.name).postln; task.stop; CmdPeriod.remove(this); ctime= ""; } s ...
-
... gui is time sensitive // thus the remainder of the gui building is wrapped in a routine that is run on AppClock Routine({ var count = 0; (~voicerRows * ~voicerColumns).do({ |i| VoicerProxy.new => VP.prNew(i); // first proxy has 4 controls, ...
-
... (10),Impulse.kr(10),MouseX.kr(0.01,0.5,'exponential'), b.bufnum)),0.0))}.play //routine playing with mean initial positions ( c= {inf.do{ b.setn(40,Array.fill(10,{1.0.rand})); rrand(0.1,0.2).wait;}}.fork ) c.stop; //routine playing with dat ...
-
... <largeInfoTextField, <infoDisplayTextField; var <drawList, <frameRate = 24, drawRoutine; setDefaultOptions { super.setDefaultOptions; options.largeDisplay ?? { options.largeDisplay = false }; options.largeDisplayBounds ?? { options.largeDis ...
-
... this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- bundling ensures timing { freq.reciprocal.wait; target. ...
-
... s.value } ), buffer.bufnum, loop:0); Line.ar(dur: duration, doneAction: 2); }); Routine.run({ var c; c = Condition.new; server.sendMsgSync(c, *buffer.allocMsg); server.sendMsgSync(c, "/d_recv", def.asBytes); synth = Synth.basicNew(name, ser ...
-
... 2.ar(SinOsc.ar(20*c+(SinOsc.ar(20*m, 0, 200*m, 0))), 0) ) }).add; ) ( r=Routine({ var number, divisor; //the list of prime numbers l=Array.newClear(indexedSize: 0); for (2, ~max,{arg number; x=Synth(\gsaw, [\g, number]) ...
-
... this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- bundling ensures timing { freq.reciprocal.wait; target. ...
-
... os en initState. resetState {|condition = nil, waitTime = 0.1| if (changingStateRoutine.isPlaying) {changingStateRoutine.stop}; changingStateRoutine = Routine { var oscRecievedMessagesCopy = Dictionary.newFrom(oscRecievedMessages); // reini ...