-
... eY.kr(120,500))); input=SoundIn.ar; concat= Concat.ar(control,input,4.0,4.0,4.0,MouseX.kr(0.0,0.5),0,0.5,1.0,0.5,0.0); Out.ar(0,Pan2.ar(concat,0.0))}.play ) //audio in controls synthesis, low latency, match by ZCR and spec centroid ( { var ...
-
... f) ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) ( { var freq; freq = Duty.kr( MouseX.kr(0.001, 2, 1), // control rate ugen as durations 0, Dseq([204, 400, 201, 502, 300, 200], inf) ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) ⧉ ✔ Resett ...
-
... y to what we're looking for freq = 220; // or try MouseY.kr(110, 440, 1); amp = MouseX.kr; sig = SinOsc.ar(freq, 0, amp); # real, imag = Goertzel.kr(sig, bufsize, 220); // Calc the magnitude. We also normalise it against buffer size here. m ...
-
... ples s.boot; //basic usage a= {SinOsc.ar(RedSequencer2.ar([100, 500, 600, 700], MouseX.kr(0.01, 0.1)), 0, 0.1)}.play a.free a= {SinOsc.ar(RedSequencer2.ar([400, 500, 600], Dseq([0.2, 0.3], inf)), 0, 0.1)}.play a.free a= {SinOsc.ar(RedSequen ...
-
... tln; t*t*t}, 0.5, 1.0) //--audio examples s.boot {SinOsc.ar(400, 0, RedTween.kr(MouseX.kr(0, 1), 0, 1, 4).poll)}.play {SinOsc.ar(400, 0, RedTween.kr(MouseX.kr(0, 1), 0, 1, {|t| t*t*t}).poll)}.play {SinOsc.ar(400, 0, RedTween.kr(MouseX.kr(0, ...
-
... ly; // LFNoise frequently seems stuck, LFDNoise changes smoothly. { LFNoise0.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play { LFDNoise0.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFNoise0.ar(XLine.kr(0.5 ...
-
... oing from high to low freqs, LFDNoise changes smoothly. { SinOsc.ar(LFNoise2.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { SinOsc.ar(LFDNoise3.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play // LFNoise quantizes time steps a ...
-
... r inA, inB, chainA, chainB, chain, vals, cutfreqs; //in = LPF.ar(WhiteNoise.ar, MouseX.kr(10,10000, 1)); inA = WhiteNoise.ar; inB = Saw.ar; chainA = FFT(b.bufnum, inA); chainB = FFT(c.bufnum, inB); chain = PV_BinWipe(chainA, chainB, MouseX. ...
-
... // LFNoise frequently seems stuck, LFDNoise changes smoothly. { LFClipNoise.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play { LFDClipNoise.ar(MouseX.kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFClipNoise.ar(XLine. ...
-
... ], [0.1, 0.02, 0.4, 1.1], [\lin, \exp, -6, \sin]); var envgen = IEnvGen.kr(env, MouseX.kr(0, env.times.sum)); env.plot; SinOsc.ar(envgen * 500 + 440) }.play; ) // index with an SinOsc ... mouse controls amplitude of SinOsc // use offset so ...