-
... 00), 0, [1, 1]) }.play(s); ) // shifting bandpassed noise { FreqShift.ar(BPF.ar(WhiteNoise.ar(0.2), 1000, 0.001), LFNoise0.kr(5.5, 1000), 0, [32, 32]) }.play(s); ⧉ ✔ More Examples send a SynthDef, run the routine then send a different Synth ...
-
... kr(Env.newClear(8)); envgen = EnvGen.kr(env, gate, doneAction: 2); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }); ) // create a new instance of CtkNote based on this prototype b = a ...
-
... kr([0.000001, 0.001, 0.1].choose) * ChaosGen.allSubclasses.choose.ar(0.1)), 2**WhiteNoise.ar(rrand(0.025, 40) * ChaosGen.allSubclasses.choose.ar(10))+0.25, [0.005, 0.5].choose, overlaps: 1, windowRandRatio: 1, interp: [1, 2, 4].choose ...
-
... 1m = env1.midicps; son = LFPulse.ar(env1m, 0, 0.5, 1, -0.5); son = son + WhiteNoise.ar(1); son = LPF.ar(son, env1m*1.5, env0); son = son + SinOsc.ar(env1m, 0.5, env0); son = son * 1.2; son = son.clip2(1); OffsetOut.ar ...
-
... (LocalIn.ar(1), XLine.ar(1,10,0.3)) * 0.97 + (LPF.ar(Trig.ar(gate, 0.01),200) * WhiteNoise.ar.range(0.98,1)); spring = spring.dup(~numsprings); damp = damp.dup(~numsprings); ou = in; springs = spring.collect { arg spr, i; ...
-
... c[1].lastIndex].real, 1); ) SCFreqScopeWindow .new(400, 200, 0); x = { LTI .ar( WhiteNoise .ar(0.4).dup(2), e.bufnum, d.bufnum) }.play; x.free // CAUTION: The following example is a bit dangerous, since we are updating the coefficients in / ...
-
... 1..c[1].lastIndex].real, 1); ) SCFreqScopeWindow.new(400, 200, 0); x = { LTI.ar(WhiteNoise.ar(0.4).dup(2), e.bufnum, d.bufnum) }.play; x.free // CAUTION: The following example is a bit dangerous, since we are updating the coefficients in // ...
-
... scope; // IMPORTANT: The b (feedback) coefficients need to be negated. { SOS.ar(WhiteNoise.ar(0.9).dup(2), c[0][0].real, 0, 0, c[1][1].real.neg, c[1][2].real.neg) }.play ⧉ ✔ helpfile source: /tmp/scquark_hs/FilterTools/HelpSource/Classes/Fi ...
-
... noiseAmp = EnvGen.ar(Env.perc(0.001, 0.15), doneAction: 2); noise = BPF.ar(WhiteNoise.ar, 810, 1.6) * noiseAmp; snd = (pop + noise) * 1.3; Out.ar(out, Pan2.ar(snd, pan, amp)); }).add; ) ( SynthDef("nespulse2", {arg ...
-
... env = Env.perc(att, sus, rel, amp).kr(doneAction: 2); snd = BPF.ar( in: WhiteNoise.ar, freq: ffreq, mul: env ); Out.ar(out, Pan2.ar(snd, pan)); }).add; SynthDef("1", {arg rate = 1, amp = 1, buffer, startPos = 0, attack ...