-
... o| o.containsLoc(w.mouse)}; }; w.mouseUpAction= {|view, x, y| over= nil; }; //--loop w.draw{ if(over.notNil, { over.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, ...
-
... o| o.containsLoc(w.mouse)}; }; w.mouseUpAction= {|view, x, y| over= nil; }; //--loop w.draw{ if(over.notNil, { over.loc= w.mouse; }); sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, ...
-
... 33, 0 ]) .displayHighlights_(true) .beat_(currentBeat); var routine = Routine({ loop { // Do something here (0.25).wait; currentBeat = currentBeat + 1; if(currentBeat == multiSlider.values.size) { currentBeat = 0; }; multiSlider.beat_(curre ...
-
... tsize = 1024; var sig, chain, unp; sig = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (fftsize), sig); unp = Unpack1FFT (chain, b.numFrames, 0, 0); // Demand some data from the unpacker Demand .kr(chain>=0, 0, unp ...
-
... ///////////////////////////////// // Let's introduce distortion in the feedback loop... // //////////////////////////////////////////////////////// //First, remove the old feedback ~filter.removeMix(oldSender: ~filter); //Define a new node ...
-
... are useful, for example to allow the sequence to vary over time, or to produce looping pseudo-noise (the *periodic helper provides this functionaity). The *noise2 , *noise3 and *noise4 functions are based on the example Java code (in the p ...
-
... ⧉ ✔ See Routine: -play stream.play (clock) returns: the stream the stream will loop until it returns nil FuncStream({ "ok, that was it".postln; 1 }).play; ⧉ ✔ See FuncStream: -play pausestream.play (clock) / task.play (clock) returns: the ...
-
... 33, 0 ]) .displayHighlights_(true) .beat_(currentBeat); var routine = Routine({ loop { // Do something here (0.25).wait; currentBeat = currentBeat + 1; if(currentBeat == multiSlider.values.size) { currentBeat = 0; }; multiSlider.beat_(curre ...
-
... , 150], 0, 0.2); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagMul(chainA, chainB); Out.ar(out, 0.03 * IFFT(chain)); }).play(s, [ ...
-
... c .ar(freq, 0, env)) }).add; ) ( var a; a = Pgauss (0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )