-
... nf).asStream; // note length var buf = Array.fill(16,{List.new}); // record loop buffer var deg, len; len = lenstr.next; inf.do { var i = ev[\index]; var n = buf[i]; if(n.size != 0) { // previou ...
-
... fset = PulseCount.ar(phaseTrig), sig = BufRd.ar(2, bufnum + bufOffset, phase, loop: 0); FreeSelf.kr(bufOffset >= numbufs); LocalOut.ar(phaseTrig); Out.ar(out, sig * amp); }).add; ) a = Synth(\playchunks, [bufnum: b.first, numbu ...
-
... r.alloc(s, 512, 1); z.sine1(1.0 / [1, 2, 3, 4], true, true, true); fork( { loop { SynthDef("g1",{ arg out=0,bufnum=0,dur=1,rate=1,pos=0,sdens=1,edens=1; var dens = Line.kr(sdens,edens,dur); var trig = [LFNoise0,SinOsc,Imp ...
-
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 ...
-
... >>".postln; }; rbuf; // return (altered) item }; ( Tdef(\steppr, { loop{ q.rbuf = q.step(q.rbuf, q.change, q.chance); // debug output // q.rbuf.asArray.postln; // play the current note, can be basically eve ...
-
... LocalOut.ar(s);s}.play; // few more I was mucking around with (remove tanh loop for < 140c) {l = LocalIn.ar(2);k=LFSaw.ar(l,0,l,1);j=k.range(0.25,4.0);s=PitchShift.ar(SinOscFB.ar(j**l,k),[0.05,0.03],j);5.do{s=s.tanh+(s*0.1)};LocalOut. ...
-
... lloc(s, 512, 1); z.sine1(1.0 / [1, 2, 3, 4], true, true, true); { loop { SynthDef("g1",{ arg out=0, bufnum=0, dur=1, rate=1, pos=0, sdens=1, edens=1; var env, trig, dens, snd; dens = Line.kr(sden ...
-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... ssaiSupercollider/SamplesPiecesMonnaie/sample3.wav",channels:0); ~sample2.play(loop:true) ( SynthDef(\essai,{ arg gate=1,amp=0.1,pan=0,freq=440,out; var sig,env,trig; trig=Impulse.ar(freq); sig=PlayBuf.ar(1,~sample2,freq,trig,l ...
-
... ,0.5,Pseq([0.8,0.5],inf)].choose * 0.5, ) }), ].flat)) }).loop, Plazy({ Pfindur([64,32,16,8].choose, Ppar([ rrand(1,8).collect({ arg idx; PmonoArtic(( \babass++rrand(0,32) ).asSymbol, \degr ...
-
... use \freq.kr(440) // here we use this system to generate argument names in a loop ins = ~matrix_in_count.collect { arg in_idx; InFeedback.ar(( \in++in_idx ).asSymbol.kr(100), 2); }; // for each output, sum the inputs with a di ...