-
This is our first work and posting. Please give us advice. From Japan. ( SynthDef("pulse",{ arg freq,delayTime,amp = 1.0,attack = 0.01; var out,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(fr ...
-
... .3), rrand(0.99, 0.92)) ) }) ); Tdef(\x, { var str = Pevent(a).asStream, event; loop { event = str.next; if(event[\freq] % 50 < 20) { event[\freq] = event[\freq] * [1, 1.2, 1.5] }; event.play; event[\dur].wait; } }).play; ) ⧉ ✔ helpfile sou ...
-
... nOsc.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; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pgauss ...
-
... 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 ...
-
... leFiles.child); ( { var in, chain, v; in = PlayBuf.ar(1, c, BufRateScale.kr(c), loop: 1); chain = FFT(LocalBuf(1024), in); chain = chain.pvcalc(1024, { |mags, phases| //////// Try uncommenting each of these lines in turn and re-running the ...
-
... nt } Because of this inheritance, Prand simply expresses its behavior as a 'do' loop, choosing 'repeats' items randomly from the list and embedding them into the stream. When the loop is finished, the method returns the input value (see bel ...
-
... 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 ...
-
... d instance methods Examples ( Routine({ var parser = JSMini("[1 [2 2] 3 4]/4"); loop { var synth, freq; var trig, delta, dur, str, num; # trig, delta, dur, str, num = parser.step(); freq = (str.asInteger + 60).midicps; s.bind { synth = Synt ...
-
... 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), ...
-
... vel,acc,mass,size }.dup(n); synths= {Synth(\fm, [\amp, 0])}.dup(n); s.sync; //--loop w.draw{ var set; Pen.width= 3; set= Set.new; world.objects.do{|o, i| o.addForce(world.gravity); world.objects.do{|oo, j| if(i!=j, { if(o.collide(oo), { set ...