-
... ay; // spectrogram is also added as a method to Function, thus: { LFNoise1 .ar( MouseX .kr(10, 5000)) * SinOsc .ar( MouseY .kr(15000, 1000, 1))}.spectrogram; { LPF .ar( WhiteNoise .ar(1), LFNoise1 .kr(1).range(20,12250))}.spectrogram; { Saw ...
-
... ); detect = PV_HainsworthFoote .ar( FFT ( LocalBuf (2048), source1), threshold: MouseX .kr(0.01, 1.0)); WhiteNoise .ar * Decay .ar(detect, 0.1) + (source1 * 0.2); }.play; ) // tests using sound in // Foote solo - never triggers with thresho ...
-
... ontrol Mouse Extension A language side Mouse Location: NOT INSTALLED! See also: MouseX Description Sketch for having an equivalent to MouseX in the language, on guis etc. First code examples: // use just the Mouse class (no polling needed): ...
-
... trigger reset a= {SinOsc.ar(RedSequencer.kr(Dgeom(400, 1.5, 8), Impulse.kr(5), MouseX.kr>0.5), 0, 0.1)}.play a.free //more advanced example ( SynthDef(\redseq, {|out= 0| var freq, dur, z, e; freq= RedSequencer.kr([200, 300, 400, 500], Impu ...
-
... thods Instance Methods Inherited instance methods Examples { Latoocarfian2DN.ar(MouseX.kr(20, SampleRate.ir * 0.5), MouseX.kr(40, SampleRate.ir), mul:0.2) }.play(s); ( { Latoocarfian2DN.ar( SampleRate.ir/4, SampleRate.ir, LFNoise2.kr(2.dup, ...
-
... ferent moduli ( { var sig = LFSaw.ar(10); var dist = ModDif.kr(sig, 0, (0..8) * MouseX.kr(0, 1/5)); Splay.ar(SinOsc.ar(dist * 4000 + 400)) * 0.1 }.play; ) // wrapping amplitude crossfade ( { var numChan = 12; var x = SinOsc.ar({ rrand(300.0 ...
-
... (2); SynthDef(\noise, {arg noiseout = 1; var noise, filt; noise = WhiteNoise.ar(MouseX.kr(0, 1)); filt = BPF.ar(noise, LFNoise2.kr(0.2, 440, 880), 0.001); // comment out to compare without balance filt = Balance.ar(filt, Amplitude.kr(noise, ...
-
... n; in = WhiteNoise.ar(0.2); chain = FFT(bufnum, in); chain = PV_MagBelow(chain, MouseX.kr(0, 7)); Out.ar(out, 0.5 * IFFT(chain).dup); }).play(s, [\out, 0, \bufnum, b.bufnum]); ) ( SynthDef("help-magBelow3", { |out = 0, bufnum = 0, soundBufn ...
-
... tance methods Examples s.boot; ( z = { // thru BAllPass.ar( SoundIn.ar([0, 1]), MouseX.kr(10, 18000, \exponential), 0.8, // rq 0.5); // mul }.play) z.release; ( z = { // like a bandpass var sig; sig = SoundIn.ar([0, 1]) * 0.5; BAllPass.ar(s ...
-
... ance Methods Inherited instance methods Examples // vary frequency { LorenzL.ar(MouseX.kr(20, SampleRate.ir)) * 0.3 }.play(s); ⧉ ✔ // randomly modulate params ( { LorenzL.ar( SampleRate.ir, LFNoise0.kr(1, 2, 10), LFNoise0.kr(1, 20, 38), LFN ...