-
... nherited instance methods Examples // default initial params { LatoocarfianL.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s); ⧉ ✔ // randomly modulate all params ( { LatoocarfianL.ar( SampleRate.ir/4, LFNoise2.kr(2, 1.5, 1.5), LFNoise2.kr( ...
-
... both outfreq and infreq parameters with the mouse: {PermModT.ar(SinOsc.ar(220), MouseX.kr(500, 1200), MouseY.kr(1200,4000))}.play //Remember to avoid the outfreq>infreq case! // Distort any input with an Electronic Telephone Ring effect: {P ...
-
... te).range(0, 10)}.dup(2); // Our "query point" wanders around in space input = [MouseX.kr(0, 10), MouseY.kr(0, 10)]; // Or you can wander yourself using the mouse gate = Impulse.kr(rate); result = GaussClass.kr(input, b, gate); input.poll(g ...
-
... amp = 1, envbuf| var pan, env, freqdev; // use mouse x to control panning pan = MouseX.kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise.kr(MouseY.kr(0, 400)); env = EnvGen.kr( Env([0, 1, 0 ...
-
... = [SinOsc.ar, PinkNoise.ar].mean; mode = MouseY.kr(1,2).round; WaveLoss.ar(sig, MouseX.kr(0, 40), 40, mode: mode, mul: 0.1); }.play; ) x.free; // Plotting shows quite clearly what's going on: ( { var sig; sig = [SinOsc.ar, PinkNoise.ar].mea ...
-
... z = SinGrainIBF.ar(trig, 0.05, WhiteNoise.kr.range(440, 880), envbuf1, envbuf2, MouseX.kr(0, 1), WhiteNoise.kr.range(-0.25pi, 0.25pi), 0, 1, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ); Out.ar(0, Deco ...
-
... n: a.subBus(4, 2)]); ) // start source, crossfade between fx buses // play with MouseX, fx and source period are in integer relation ( x = { var seq = Demand.kr( Impulse.kr(5), 0, Dxrand([60, 62, 65.5, 66, 68.5], inf) + Drand([-12, 0, 12], ...
-
... , numbers, window; s.waitForBoot { a = { var sig = SinOsc.ar(110); var preamp = MouseX.kr(-20, 40).dbamp; // "normal" distortion var d1 = (sig * preamp).tanh; // gain-adjusted var d2 = ConstantGainDistortion.ar(sig, preamp); // tanh default ...
-
... amp = 1, envbuf| var pan, env, freqdev; // use mouse x to control panning pan = MouseX.kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise.kr(MouseY.kr(0, 400)); env = EnvGen.kr( Env([0, 1, 0 ...
-
... reset the seed at a variable rate ( x = { |seed = 1956| RandSeed.kr(Impulse.kr(MouseX.kr(0.1, 100)), seed); }.play; ) x.set(\seed, 2001); x.set(\seed, 1798); x.set(\seed, 1902); // above you can see that the sound of the LFNoise1 is not ex ...