-
... oices = 10, max_voice_time=120; var times = LocalIn.kr(n_voices); // Latch returns 0 by default before the first trig, that is why we // sum 1 to the index and then subtract. var voice = (Latch.kr(ArrayMax.kr(times)[1] ...
-
a tweeting code snippet. {t=Impulse.ar(9);h=Latch.ar(SinOsc.ar(5.251,[0,0.5pi]),t);Blip.ar(h[0].exprange(40,200).round(44),h[1].range(1,50),0.2).dup}.play;
-
... { {FreeVerb.ar(1 / pow(2.718281, LFSaw.ar(rrand(10,100),1,1).squared / (2 * (Latch.ar(WhiteNoise.ar(1).range(0.001, 0.15), LFSaw.ar(4,1,0.5,0.5) > 0.99)).squared)) * 0.1, 0.33, 2) * EnvGen.kr(Env.linen(20, 40, 20, 1), doneAction: 2) ! 2} ...
-
... ay1.ar(ph)) < 0 + Impulse.ar(0) }.value(phase / fragmentlength % 1); del = Latch.ar(phase, fragment); snd = DelayC.ar(snd, 10, del); snd * 0.1!2; }.play; ) // Many stutter plugins let you play back the audio at a differe ...
-
... #sc play{a=LFNoise0;b=FBSineC.ar(a.kr(4,2e4,2e4),a.kr(10,16,17),1,1.005,0.7)!2;Latch.ar(b,Impulse.ar(a.kr(0.5,5e3,4e3)))*a.kr(5,0.4,0.5)}// #sc play{RLPF.ar(Latch.ar(SinOsc.ar([100,100.5])!2,Impulse.ar(Duty.kr(Dseq([2,1]/4,inf),0,Drand((6 ...
-
... rd1 = LFSaw.ar(1000 / g_size, 1, 0.5, 0.5); hann1 = (rd1 * pi).sin; pos1 = Latch.ar(Line.ar(pos * slice, (pos * slice) + slice, ~dur * len, doneAction: 2), rd1 > 0.99); gr1 = BufRd.ar(2,buff, (rd1 * 44.1 * g_size) + pos1) * hann1; ...
-
... pMul = 100, blipAdd = 50, fMul = 50, kMul = 1 | f = LocalIn.ar(2).tanh; k = Latch.kr(f[0].abs,Impulse.kr(1/4)) * kMul; LocalOut.ar( f + CombC.ar(Blip.ar([rateL, rateR], blipMul * k + blipAdd, 0.9), 1, k*0.3, fMul * f));f }.play ...
-
... nvIn=LinCongN.ar(rate); son = osc.ar(Convolution.ar(convIn,convIn)); freq = Latch.kr(rand.range(0,1).round(0.1), rand) * freq; freq = osc.ar(osc.ar(rand)*rand.range(0,10)).range(freq, freq*3); son = Formlet.ar(son, freq, convIn.abs* ...
-
... 0.2), trigs) * 3201 + 2311, 0.2); snd = LPF.ar(snd, 3000); snd = snd * (1 + Latch.ar(WhiteNoise.ar(-8.dbamp), Dust.ar(830))).lag2(0.01); snd = snd + LPF.ar(CombC.ar(snd, 0.4, 0.33, 0.52, -4.dbamp), 932); snd = FreeVerb2.ar(snd, snd, ...
-
... lfo = LFTri.ar(clockFreq); var sqrlfo = LFPulse.ar(clockFreq); var random = Latch.ar(WhiteNoise.ar, clock); var slope,contour,eoa,eos, osc; var overtone, dynamics, proc, lpf; contour = EnvGen.ar(Env.new([0,1,sustain,0], [onset, de ...