-
... B") )); layout.add(nil); window.layout = layout; window.onClose_({oscFn.free;}); // Level indicator update oscFn = OSCFunc({arg msg; { indicator.value = (1-msg[3]).ampdb.linlin(maxReduc, 0, 0, 1); }.defer; }, '/lev ...
-
... coerce wibble = Pulse.ar(pitch, 0.2, amp * 2); // resynthesise wibble = FreeVerb.ar(wibble, 0.3, 0.1, 0.9); // bit of reverb just to taste Out.ar(0, wibble.dup); }).memStore; ) // Choose your MP3... some will work well and ...
-
... ep.set(\freq, 30+highest, \cutoff, 100*starthighest); 10.wait; numberbeep.free; highestbeep.free; longestbeep.free; }).play; )
-
... s in sequence - one after the other s.boot; ( s.latency= 0.05; b.do{|x| x.free}; //free all previous buffers b= [ //edit paths - any number of files - make sure mono Buffer.read(s, "/Applications/SuperCollider344/sounds/samples/Scr ...
-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... 1); a.set(\rate,10); b.set(\rate,10); c.set(\rate,10); }.fork; ) a.free b.free c.free d.free e.free
-
... ) + 1) * (mod2 * mod3); mod1 = (mod1 * 0.1)!2; }.play; ) // To stop: a.free; // Fig 50.8: Field Cricket 2 ( b = { var trig, seq, demand, cricket; // instead of [metro], Impulse.kr is used here. Delta t = 17 ms equ ...
-
... //Clear the current buffer and replace with the trimmed buffer monthBuf[i].free; monthBuf[i] = newBuf; }; //Get file sizes and free the buffers s.sync; //Wait for the new buffers to fill //-----Display----- 3.do{''.dopostl ...
-
... earOnRefresh= false; //do not erase - just draw on top of w.onClose= { b.free; }; w.front; CmdPeriod.doOnce({if(w.isClosed.not, {w.close})}); u.animate= true; }; ) //some synth that writes into the buffer v= {RecordBu ...
-
... dicps, \dur, 1, \t_trig, 1) a.set(\freq, 90.midicps, \dur, 0.5, \t_trig, 1) a.free ( Routine({ var a= Synth(\risset); 20.do{ var dur= 0.2.exprand(3.0); var fre= 60.0.exprand(5000.0); ("dur:"+dur+"fre:"+fre).postln; a.s ...
-
... n(s, a); x = { PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 0) }; x.play; x.free; b.free; a.free;