-
... Limiter.ar(f * 0.4, 1, 0.01) * amp; f.collect{|si, i| PanAz.ar(q.numChans, si, SinOsc.kr(Rand(0.1, 0.2)/2, 0, Rand(1, 2)), amp) }.sum; }); );
-
... ; env = Env.perc(0.01, sustain, 0.2).kr(doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; ) ( a = Pbind( \instrument, \help_sinegrain, \note, Pxrand([0, 5, 7, 9], inf), \dur, 0.05, \sustain, 0.1 ); Pstutter(Pseq([ ...
-
... nvGen.kr(Env.linen(fa,fs,fr)); freq = Line.kr(freq,freq*ratio,t); vib = SinOsc.kr(vibrate).range(vibdepth.neg,vibdepth)+1; freq = vib*freq; //freq = freq.lag(t); sig = Select.ar(2.rand,[ Pulse.ar([freq,freq*(1+dt ...
-
... rited instance methods Examples //bass synth {Out.ar(0,Pan2.ar(DoubleWell3.ar(f:SinOsc.ar(MouseX.kr(0,200),0,MouseY.kr(0.5,4.0))),0.0))}.play //plotting check of first samples {DoubleWell3.ar}.plot(0.05, minval:-1, maxval:1) //gradually cha ...
-
... , 900); index = IndexInBetween .kr(bufnum, f0); f1 = IndexL .kr(bufnum, index); SinOsc .ar([f0, f1]) * 0.1 }.play; ) b.free; // One way to map across from an arbitrary piecewise curve, onto another: // We use IndexInBetween to "unmap" your ...
-
... t of NodeProxy. Example 1 s.boot; p = ProxySpace .push(s); ~sine = { |freq=300| SinOsc .ar( freq, 0, 0.3 )}; ~sine.play; NPdef ( ~sine, Pbind ( \freq , Pseq ( (3..10)*100, inf ))); Pdef ( \sine ).play; Pdef ( \sine ).stop; ~sine.stop; // yo ...
-
... = \aamps.kr(ctr[\defaultamps]); bamps = \bamps.kr(ctr[\defaultamps]); a = SinOsc.ar(afreqs[0..3].midicps, 0.0, aamps[0..3].dbamp); b = SinOsc.ar(bfreqs[0..3].midicps, 0.0, bamps[0..3].dbamp); a = a + Pulse.ar(afreqs[4..].midicps ...
-
... ne.run({ SynthDef(\fx, {ReplaceOut.ar(0,Limiter.ar(0.1*CombN.ar(In.ar(0, 2),0.3,SinOsc.kr(0.05, 0, 0.125, 0.15), SinOsc.kr(0.023, 0, 0.5, 0.6)))) }).send(s); sf= BBCutBuffer("sounds/a11wlk01.wav",4); s.sync; pitch=1.0; when= 0; now=0; bbcs= ...
-
... ult = s; s.options.numWireBufs = 256; s.reboot; ) ⧉ ✔ Ex.1: Basic usage // play SinOscs silently and wait for granulation envelopes ( a = Bus.audio(s, 10); x = { Splay.ar(In.ar(a, 10) * SinOsc.ar((3..12) * 100, 0, 0.05)) }.play ) // send en ...
-
... snd1 = HPF.ar( in: WhiteNoise.ar, freq: ffreq, mul: env ); snd2 = SinOsc.ar(freq: sinfreq, mul: env); sum = snd1 + snd2; Out.ar(out, Pan2.ar(sum, pan)); }).add; SynthDef("kick", {arg out = 0, amp = 0.3, sinfreq = 60, g ...