-
... s, group, bus1, bus2, env, freq, control, task; var cond; cond = Condition.new; Routine.run({ pnotes = CtkProtoNotes( SynthDef(\test, {arg dur, freq, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGe ...
-
... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...
-
... khkhshhshhkhshhh "; pattern2 = " khkhsk.hhhkhs..k khkhshhhssssssss "; Routine({ 2.do{ |count = 0| 2.do{ if(count == 1) { ~mel0.play; }; ~bassline0.play; [0, 15, 7].do{|note| s.bind{Synth(\bass, [ ...
-
... Method==3 restore previous".postln} ); }; if(images.size>1, { //if animated gif Routine({ while({win.isClosed.not}, { //TODO check userinputflag here (images.wrapAt(index).control.duration*0.01/rate).max(0.01).wait; index= index+1; win.refr ...
-
... n.lineTo(Point(img.width-x, y)); lastIndex= index; }); }; Pen.stroke; }; }); }; Routine({ var numPointsToDraw; var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(buffer.accelBuffer.size>0, { //skip frame if no ...
-
... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...
-
... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...
-
... vert time into level timeSpec = ControlSpec.new(start, end, warp); guiUpdater = Routine({ startTime = thisThread.clock.beats; { (thisThread.clock.beats - startTime) <= dur }.while({ this.level_(timeSpec.map( (thisThread.clock.beats - startT ...
-
... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...
-
... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...