-
... pleAccurate = false; ~x.play; // the grain frees itself ~x = { SinOsc.ar(800) * EnvGen.ar(Env.perc(0.001, 0.03, 0.4), doneAction: Done.freeSelf) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } ...
-
... , Integer: -euclidean , Integer: -kaprekar , Integer: -pea , Number: -lorenz , Env: *collatz . . lorenz : METHOD NOT FOUND! In 1970, Birman, Guckenheimer, and Williams propose a model of dynamic discretization of Lorenz attractors, charact ...
-
... = Impulse.kr(6/looplen) + Impulse.kr(4/looplen); loopy = BPF.ar(WhiteNoise.ar * EnvGen.ar(Env.perc(0.01, 0.3), trigs), LFCub.kr(1/looplen).exprange(100, 5000)); varying = Pulse.ar(LFNoise0.kr(6/looplen).exprange(100, 500).cpsmidi.round.midi ...
-
... Map(a map) // synthdefs for these things are on the server already. ~a.gate, ~a.env, ~a.line, ~a.xline // some more calculations have to be made on client side, so if automated, it is better to use // the above or a lag in the synth. ~a.lin ...
-
... ne, { |freq = 440, amp = 0.25| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; freqs = Scale.at(scale).ratios; freqs = freqs ++ [2]; freqs = freqs * fre ...
-
... nOsc.kr(plfofreq, mul:mw, add:1); freq = Lag.kr(freq, freqlag) * plfo; fcurve = EnvGen.kr(Env.adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix.ar([Pulse.ar(freq, 0.9), Saw.ar(freq*1.007)]); sig = RLPF.ar(s ...
-
... al mic and speakers. ( SynthDef("PV_Control_Reson", { var in, fft, out, volume, envs, pauseEnv, buf, buf2, vols, windowStarts, stream, numBins, cutoffFreq; numBins = 2048; buf = LocalBuf(numBins, 1); buf2 = LocalBuf(numBins, 1); in = SoundI ...
-
... ocal, startPos: start), eg; sig = PitchShift.ar(sig, pitchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, decay), sig.abs > 0, doneAction: Done.freeSelf); Out.ar(out, (sig * eg) ! 2) }).add; // note add! Without this, arguments won' ...
-
... s often the case that the synthdef used by the synth in routines should have an envelope with a doneAction parameter set to 2 (to deallocate the memory needed for the synth after its envelope has finished playing). ( // DEFINE A SYNTHDEF Sy ...
-
... e, b1) .blend(vi, b2) .blend(vo, b3) .blend(vu, b4) .brightenExp(bright, 1) ) * EnvGen.kr(Env.perc, 3.0, doneAction: 2); Out.ar(0, Pan2.ar(sig, pan, 0.1)); }).add ) ( Task({ 32.do({ arg i; Synth(\vowblend, [ \pan, i.linlin(0,32, -1, 1 ), \f ...