-
... 0) * 0.4 }, { |x=1| BPF.ar(PinkNoise.ar(10 ! 2), 700 * x, 0.1) * 0.3 }, { |x=1| SinOsc.ar(XLine.kr(8000, 200, 60) * [1, 1.23] * x) * 0.1 } ], { |receiver, func, args| receiver.collect { |x| func.(x, args) } }); ) b = a.play; // b is a Lift ...
-
... ar(VarSaw.ar(freq, 0, LFNoise2.kr(1)), 5, 0.1, 0, 0.2, 0.1, 0.7); var theSine = SinOsc.ar(freq); // var theSaw = VarSaw.ar(f * 1.5, 0, width); // Emulate six unsynched LFOs driving six comparators for a multi-pulse chorus var oscs = 6; var ...
-
... elect] \ \ (\ \ SynthDef ( "help-SelectL" ,\ arg out=0;\ \ var a,cycle;\ a = [\ SinOsc .ar,\ Saw .ar,\ Pulse .ar,\ K2A .ar(0) // silence \ ];\ cycle = a.size * 0.5;\ Out .ar(out,\ SelectL .ar( LFSaw .ar(1.0,0.0,cycle,cycle),a) * 0.2\ )\ \). ...
-
... k.ar(HPF.ar(PinkNoise.ar, 500), indextrigs, 0.1, indexfreqs.reciprocal, 5, coef:SinOsc.kr(0.1).range(0.3, 0.4)); // Pan each string a little according to pitch panpos = indexfreqs.collect(_.explin(100, 3000, -0.5, 0.5)); //indexfreqs.poll(1 ...
-
... k.ar(HPF.ar(PinkNoise.ar, 500), indextrigs, 0.1, indexfreqs.reciprocal, 5, coef:SinOsc.kr(0.1).range(0.3, 0.4)); // Pan each string a little according to pitch panpos = indexfreqs.collect(_.explin(100, 3000, -0.5, 0.5)); //indexfreqs.poll(1 ...
-
... 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; }); );
-
... 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 ...
-
... default = 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 ) // se ...
-
... he node: a.value; ( SynthDef(\swexample,{ |out=0,amp=0.1,freq=400| Out.ar( out, SinOsc.ar( freq, 0, amp ) ); }).send(s) ) // use it at synth instantiation: b = Synth.new( \swexample, [\amp,a.value ] ); // set it again: b.set( \amp, a.value ...
-
... map = { |i| var a = rrand(0.0, 1.0).postln; InRange.ar(pressure, a, a + 0.1) * SinOsc.ar(rand(9000, 12000), 0, 0.1) } ! n; son = Crackle.ar(pressure.linlin(1, 0, 1.32, 1.99) + [0, Rand(0, 0.001)]); freq = pressure.linlin(1, 0, freq * ratio ...