-
... ted instance methods Examples s.boot; ( z = { BBandPass.ar( SoundIn.ar([0, 1]), MouseX.kr(20, 20000, \exponential), MouseY.kr(0.0, 10.0, \linear), // bw 0.5); // mul }.play) z.release; ( z = { BBandPass.ar( WhiteNoise.ar ! 2, MouseX.kr(20, ...
-
... 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX.kr(0.99, 1.00001).min(1.0); SinOsc.ar( PeakFollower.ar(Dust.ar(20), decay) * 1500 + 200, 0, 0.2 ); }.play; ) // follow a sine lfo, decay controlled by mo ...
-
... s = Server.internal; s.boot; // On a simple sine wave x = {Squiz.ar(SinOsc.ar, MouseX.kr(1, 10, 1), zcperchunk: MouseY.kr(1, 10), mul:0.1).dup}.play(s); x.free; // Scope is helpful for visualising what's going on x = {Squiz.ar(SinOsc.ar, M ...
-
... FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_Morph(chainA, chainB, MouseX.kr); Out.ar(out, IFFT(chain).dup); }).play(s,[\out, 0, \bufnumA, b.bufnum, \bufnumB, c.bufnum ]); ) ( SynthDef("help-morph2", { arg out=0, bufnumA=0, buf ...
-
... tor uses the existing set of SystemSynthDefs to do this. { Out.ar(87, SinOsc.ar(MouseX.kr(240, 1000, 1) * [1, 2, 3], 0, 0.2)) }.play; // play three sine tone on channels 87, 88, and 89 x = Monitor.new; // create a new monitor x.play(fromInd ...
-
... FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_XFade(chainA, chainB, MouseX.kr); Out.ar(out, IFFT(chain).dup); }).play(s,[\out, 0, \bufnumA, b.bufnum, \bufnumB, c.bufnum ]); ) ( SynthDef("help-xfade2", { arg out=0, bufnumA=0, buf ...
-
... oise frequently seems stuck, LFDNoise changes smoothly. { SinOsc.ar(LFNoise1.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { SinOsc.ar(LFDNoise1.ar(MouseX.kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play // LFNoise quantizes time steps a ...
-
... inOsc.ar( IndexL.kr( LocalBuf.newFrom([200, 300, 400, 500, 600, 800].scramble), MouseX.kr(0, 7) ), 0, 0.5 ) }.play; ) ( // indexing into a changeable table t = [200, 300, 400, 500, 600, 800]; b = Buffer(s, t.size, 1); // alloc and set the v ...
-
... Examples s.boot; ( z = { // toy with boost/cut BPeakEQ.ar( SoundIn.ar([0, 1]), MouseX.kr(20, 20000, \exponential), 0.8, // rq MouseY.kr(12.0, -12.0, \linear), 0.5); // mul }.play) z.release; ( z = { // toy with rq BPeakEQ.ar( SoundIn.ar([0 ...
-
... ~hoaNumChannels); ~hoaSignal.source = {HOAEncoder.ar(~order, WhiteNoise.ar(1), MouseX.kr(pi, -pi), MouseY.kr(-pi * 0.5, pi * 0.5 ) )}; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ Now let's make a node that can take in (multichannel) HOA signals. ( ~dec ...