-
... oveAction= {|o| synths.at(o.hash).release}; //free synth when particle dies //--loop w.draw{ //--create a new particle and update the old ones var newPart= RedParticle(world, w.mouse+5.rand2, 0, RedVector2D[2.rand2, -10.rand], 1.5, 5.rand). ...
-
... e }.dup(n); synths= {|i| Synth(\sine, [\beat, 0, \amp, 0])}.dup(n); s.sync; //--loop w.draw{ if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); sys.do{|o, i| var freq, amp, pan; o.loc= o.loc+RedVector[0, ...
-
... sound = BufRd.ar( numChannels: sampleNumChannels, bufnum: bufnum, phase: phase, loop: 0, interpolation: 4 // cubic interpolation ); sound = DirtPan.ar(sound, numChannels, pan); Out.ar(out, sound) }, [\ir, \ir, \ir, \ir, \ir, \ir, \ir, \ir, ...
-
... pielrate mit Ausgleich startPos:BufSampleRate.kr(buffer) * t0, // Startposition loop: 1 // falls wir versehentlich über das Ende hinausgehen ); OffsetOut.ar(out, Pan2.ar(ton, pan)) }).add; SynthDef(\labelPlayer_2, { |out = 0, rate = 1, t0, ...
-
... ues at the same logical time, PnNilSafe exits to prevent the dangerous infinite loop.
-
... ues at the same logical time, PnNilSafe exits to prevent the dangerous infinite loop.
-
... tream, lastValue, value; (lastValue = stream.next(inval)).isNil.if({ ^inval }); loop { while { (value = stream.next(inval)).isNil.if({ ^inval }); value >= lastValue } { inval = (value - lastValue).yield; // these must be numbers obviously l ...
-
... ufnum-1]; }, { "No record buffers".postln; }); } *rec {arg recblock=1, input=1, loop=0, recLevel, preLevel, xfade=false; var blockIndex, blockFunc, blockFuncCS, blockFuncString, bufString; var setRec, recBufData, inString, recType, bufIndex ...
-
... te a really small chunk of sampled noise, which repeats with a frequency set by looprate. Then, this just gets sampled at a lower rate than supercollider's internal sample rate (see the decimator SynthDef for more on that), and sent through ...
-
... BufRd .ar(1, w.buffer, Line .ar(startFr, endFr, dur, doneAction: 2)) }.play; ) loop buffer segments with a Phasor: ( x = { arg start = 0, end = 128, playRate = 1; BufRd .ar(1, w.buffer, Phasor .ar(0, playRate * BufRateScale .kr(w.buffer), ...