-
... 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 ...
-
... 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, [ ...
-
... .list; pat.list = list.put(list.size.rand, 2); }, 15), inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, (a.next*5+77).midicps]); 0.13.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/P ...
-
... ) Arguments: rate playback rate. e.g. 2=double speed repeats number of times to loop. e.g. inf=infinite action a Function that will be evaluated when finished playing . stop stop playing (and optionally plug back the input from the serial p ...
-
... ") //minimal example ( { //var source = SoundIn.ar; var source = PlayBuf.ar(1,b,loop:1); var onsetanalysis = OnsetStatistics.kr(Onsets.kr(FFT(LocalBuf(512),source),0.125),2.0); onsetanalysis.poll(10); source }.play; ) ⧉ ✔ helpfile source: / ...
-
... , 20, 8), 0, 0.1) }); // modulate index ( e = Env.linen(2, 5, 2); Routine.run({ loop({ play({ LinPan2.ar(EnvGen.ar(e) * PMOsc.ar(2000.0.rand, 800.0.rand, Line.kr(0.0, 12.0.rand, 9), 0, 0.1), 1.0.rand2) }); 2.wait; }) })) ⧉ ✔ helpfile source ...