-
... bits=16, downsamp=2| var down; in = in.round(0.5 ** bits); down = Latch .ar(in, Impulse .ar( SampleRate .ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, \ampFin , \filter -> { |in, lim ...
-
... times are dropping off exponentially // Hit the object mallet = Decay2.ar( in: Impulse.ar(0), attackTime: att, decayTime: dec, mul: 0.1); // Bank of resonators snd = Klank.ar( specificationsArrayRef: Ref.new([freqarray, amparray, decarray] ...
-
... ave to wait until it is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used with synchronous operati ...
-
... n(\a_in, ~x2); ~f2.xmapn(\a_in, ~f1); ~f1.xmapn(\freq, ~mF, \dt, ~mx1); ~x2 = { Impulse.ar(SinOsc.kr(0.2, [0, pi]).exprange(2, 200)) }; ~x1 = { Saw.ar(20, 0.5.dup) * ~x2.ar }; ~out = ~x1; // possible schema: /* px.map knows always already t ...
-
... kr(1,99))).lag(0.1))/9)!2}).play //trigered Random Walk Impulse Ndef(\m,{(SinOsc.ar(TBrownRand.kr(150,900,MouseY.kr(0.01,1),0,Impulse.kr(MouseX.kr(1,99))).lag(0.1))/9)!2}).play //Brownmovement, random walk Audior ...
-
... Trig), value (from SendTrig)] . { var freq; freq = LFNoise1.kr(2, 600, 800); // Impulse is needed to trigger the /tr message to be sent SendTrig.kr(Impulse.kr(4), 0, freq); SinOsc.ar(freq, 0, 0.3) ! 2 }.play; [ /tr, 1000, 0, 1340.8098144531 ...
-
... signal through the hair cell; it won't come out like a pure sine, more like an impulse train stimulated by that input { Pan2.ar(HairCell.ar(SinOsc.ar(440)),0.0) }.play; //modulation effects { Pan2.ar(HairCell.ar(Saw.ar(MouseX.kr(1,1000)),0 ...
-
... .midiratio), LFNoise2.kr(tempo/4, 0.5, 1), Lag.kr( Decay.kr( Impulse.kr( ({ tempo / Array.geom(8, 0.25, 2).choose } ! bands[0]).perform(sorted.if({\sort},{\scramble})), 0, { LFNoise2.kr(0.1.exprand(1)).range ...
-
... 0, 10), MouseY.kr(0, 10)]; // Or you can wander yourself using the mouse gate = Impulse.kr(rate); result = GaussClass.kr(input, b, gate); input.poll(gate, "input"); result.poll(gate, "result"); Out.ar(0, SinOsc.ar(result.linexp(0, ~classes. ...
-
... 800, 0.01)) * Env.perc(0.0005, 0.01, curve: \lin).ar); snd = snd + (BPF.ar(Impulse.ar(0) * SampleRate.ir / 48000, 6100, 1.0) * 3.dbamp); snd = snd + (BPF.ar(Hasher.ar(Sweep.ar), 300, 0.9) * Env.perc(0.001, 0.02).ar); snd = sn ...