-
... ce methods Examples { Ringz.ar(Dust.ar(3, 0.3), 2000, 2) }.play { Ringz.ar(WhiteNoise.ar(0.005), 2000, 0.5) }.play // modulate frequency { Ringz.ar(WhiteNoise.ar(0.005), XLine.kr(100, 3000, 10), 0.5) }.play { Ringz.ar(Impulse.ar(6, 0, 0.3), ...
-
... w.new.front; menu = PopUpMenu(w, Rect(10, 10, 90, 20)) .items_(["Sine", "Saw", "Noise", "Pulse"]); funcs = [ { SinOsc.ar(440, 0, 0.3) }, { Saw.ar(440, 0.3) }, { WhiteNoise.ar(0.3) }, { Pulse.ar(440, 0.2, 0.3) } ]; b = Button(w, Rect(110, 10 ...
-
... 0.1) }; a.source = { SinOsc.ar([410, 510], 0, 0.1) }; a.source = { SinOsc.ar([LFNoise1.kr(80, 100, 300), 500], 0, 0.1) }; // stop recording and close file a.close; // monitor off a.stop; ⧉ ✔ recording from some bus a = Bus.audio(s, 2); Synt ...
-
... Examples ( { var source, local; source = Decay.ar(Impulse.ar(0.3), 0.1) * WhiteNoise.ar(0.2); local = LocalIn.ar(2) + [source, 0]; // read feedback, add to source local = DelayN.ar(local, 0.2, 0.2); // delay sound // reverse channels to gi ...
-
... Examples ( { var source, local; source = Decay.ar(Impulse.ar(0.3), 0.1) * WhiteNoise.ar(0.2); local = LocalIn.ar(2) + [source, 0]; // read feedback, add to source local = DelayN.ar(local, 0.2, 0.2); // delay sound // reverse channels to gi ...
-
... ynthDef("passLowFreqs2", { arg out; Out.ar( out, RLPF.ar( Saw.ar([220, 221] + LFNoise0.kr(1, 100, 200), 0.2), [LFNoise0.kr(4, 600, 2400), LFNoise0.kr(3, 600, 2400)], 0.1 ) ) }).add; ) Synth("passLowFreqs2") ⧉ ✔ ///////////////////////////// ...
-
... s spectrally flat to begin with, ie, an impulse train ( Impulse UGen ) or white noise ( WhiteNoise UGen ). The two big hits to CPU costs here are large n, causing peaky calculation hits once per window as autocorrelation coefficients are ca ...
-
... tance methods Examples // Right speaker is the source and at left is a burst of noise when an onset is detected ( SynthDef("coyote", { var sounds = Mix.fill(3, { var trig = Dust.kr(1); Saw.ar(TRand.kr(50, 880, trig), Decay.kr(trig, TRand.kr ...
-
... Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(line)*0.1); // noise starts at end of line Out.ar(out, Pan2.ar(a+b)); }).add; ) Synth("Done-help"); // note that this synth doesn't have it's o ...
-
... 2011]. Focus Here we encode four channels of decorrelated and comb filtered PinkNoise as a decorrelated soundfield, resulting in a maximally diffuse soundfield. FoaFocus is used to "focus" on various parts of the soundfield. At extremes, it ...