-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... =1,pan=0,freq=440,out,dur; var sig,env,trig; trig=Impulse.ar(freq); //sig=TGrains.ar(2,trig,~sample1,freq,dur:1/freq,amp:1); sig=GrainBuf.ar(2,trig,BufDur.kr(~sample1)/freq,~sample1,freq,pos:0,pan:0); env=Env.adsr.ar(doneAction:2, ...
-
... ]).sum!2}// DAF #sc b=Buffer.read(s,"*/*v".pathMatch@0);play{x=SinOsc;ring4(ar(TGrains,2,kr(Impulse,ar(x,[1,3],0,10,[9,20])),b,1,ar(x,1/9),0.01),ar(x,1e3))*9} b=Buffer.read(s,"*/*v".pathMatch[0]);play{TGrains.ar(2,Impulse.kr([9,19]*LFNois ...
-
... TIONS // Convert transpSlider values (in semitones) // to rate values for TGrains (1 = no transp): transpToRate = {arg transp; transp.linexp(-24, 24, 0.25, 4)}; // Display file names on random places on window displayFileName ...
-
... t \ \ Server side granulator that is controlled with audiorate busses. Based on TGrains. \ \ Class Methods \ \ RedAGrain .new(server) - create granulator (stereo only for now) \ \ \ Instance Methods\ \ start(out, attackTime) - starts the gr ...
-
... etch, doneAction: 2) + TRand.ar(jitter.neg, jitter, trig).madd(bdur); var snd = TGrains.ar(2, trig, buf, rate, pos, trigrate.reciprocal*ovlp, pan, amp ); OffsetOut.ar(out, snd); }).add; ); /* (instrument: \sampGrain, buf: 134, amp: 1, rate: ...
-
... \ \ Server side granulator that is controlled with controlrate busses. Based on TGrains. Same as RedAGrain. Less cpu intensive but you can not modulate fast without getting artefacts. \ \ Class Methods \ \ RedKGrain .new(server) - create gr ...
-
... ption Server side granulator that is controlled with audiorate busses. Based on TGrains . Class Methods . new Create granulator (stereo only for now) Arguments: server If nil then the default server will be used. Inherited class methods Ins ...
-
... ion Server side granulator that is controlled with controlrate busses. Based on TGrains . Same as RedAGrain . Less cpu intensive but you can not modulate fast without getting artifacts. Class Methods . new Create granulator (stereo only for ...
-
... ((x-6)/680)*(myTempBuffer.numFrames/s.sampleRate)); // for warp synth (if using TGrains (which is better)) // synth.set(\pointer, (x-6)/680); // for warp synth (if using Warp1) synth.set(\pos, ((x-6)/680) * myTempBuffer.numFrames);// scratc ...
-
... .ar(0.02, pi/5 * i).range(0.1, 0.8) } ! 10; var sig; sig = pos.collect { |p, i| TGrains .ar( 2, trigger: Impulse .ar(i * 10 + 30), bufnum: b, rate: LFDNoise3 .ar(0.1).range(0.3, 1.5), centerPos: p * BufDur .ir(b), dur: 0.1, pan: Dseq ([-1, ...