-
... 4], \amp, 0.05, \dur, 0.15 ).play; ) p.stop; // you can use modulo calculus for looping ( p = Pbind( \dev, Ptime().collect { |t| e[t % (e.times.sum)] }, \midinote, Pkey(\dev) + 60 + [0, 4], \amp, 0.05, \dur, 0.15 ).play; ) p.stop; ///////// ...
-
... ound file src = PlayBuf.ar(sndbuf.numChannels, buffer, BufRateScale.kr(buffer), loop: 1); // decode using decoder out = FoaDecode.ar(src, decoder); Out.ar(0, out); }).add; s.sync(cond); synth = Synth(\kernelDecode, [\buffer, sndbuf]); // pr ...
-
... ]); dict.putTree( 'transport', [ \rewind, 0, \forward, 0, \stop, 0, \play, 0, \loop, 0, \record, 0, \r, 0, \w, 0 ]); this.changed( \init ); } selected_ { |newSelection = 0| selected = newSelection; this.changed( \selected, selected ); if( ...
-
... tingsView,bottomSettingsView,numGridLinesPerUnit,vhorzGridDist,selGridLineCoord,loopStartNode,loopEndNode,timeIncr,timeStep,uI,breakPointCoords,curvePointCoords,<>selectedBreakPoint,breakPointTime,envGrid,envGridHeight,<action; classvar uni ...
-
... .beats = 100; t.beats.postln; // still 3 nil }); ) ( c = TempoClock.new; fork { loop { c.beats.postln; // updates, because ".wait" calls the thread 1.wait; } }; ) c.beats = 100; ⧉ ✔ . schedAbs ( beat , item ) Schedules a task to be performe ...
-
... ch, hit antecedents first conn[\antecedents].do { |antecedent| // in a feedback loop, the antecedent will have the descendant // as its own antecedent // avoid infinite recursion by breaking the chain connections[antecedent].antecedents.rem ...
-
... { oldRoutines.do( _.stop ); SynthTracker.cleanRoutines; }; routine = Routine({ loop { while { SynthTracker.isRunning(defName, minCount) } { time.wait; }; func.value; while { SynthTracker.isRunning(defName).not } { time.wait; }; }; }); rout ...
-
... .sin;9.do{a=AllpassN.ar(a,0.2,{0.2.rand}!2,9)};a+a.mean}).play; f=g=0;Routine({loop{g=g+1e-3;f=f+g%1;play{l=Line.kr(1,0,3,doneAction:2);h=2**f*100;e=Pluck.ar(CuspL.ar,1,i=1/h,i,2,0.3)!2};0.15.wait}}).play a=1@2;f=1;w=Window().front.drawHo ...
-
... g, pan); Out.ar(out, sig*env); }).add; //// Playing a mono buffer with a loop in the middle SynthDef(\bufRdPanInnerLoop, {|out = 0, bufnum = 0, pan = 0.0, amp = 1.0, lStart = 0.5, lWidth = 0.05, nLoop = 12| var sig, envGen; ...
-
... lly leave analytic control behind in favor of a very fast sensomotoric feedback loop: make a movement with/on the interface, listen to the change in the sound world, and learn to go with this flow of intuitive decisions by ear. This was ini ...