-
... outSnd = (proxy.numChannels/funcNumChannels).asInteger.collect{ SynthDef.wrap(func, nil); } }, { // args given outSnd = funcControls.flop.collect{|args, i| // args.postln; SynthDef.wrap(func, nil, args); ...
-
... Beam Sound beam = LFSaw.ar(467.1, 1, 0.5, 0.5 ) - 0.5; beam = beam - (Wrap.ar(beam) - 0.5); // two stage FM process phasor = LFSaw.ar( beam * 6500 + 277, 1, 0.5, 0.5) - 0.5; beam = beam * (phasor - (Wrap.ar(phasor) - 0.5)); ...
-
... otenumbers //To find that out you can count the occurrences of all the numbers wrapped between 0 en 11 Server.default.boot; ( SynthDef(\beep, { |freq=440, cutoff=1000, pan=0| Out.ar(0, (Pan2.ar(LPF.ar(VarSaw.ar(freq, width: 0.01), cut ...
-
... .99); gr1 = BufRd.ar(2,buff, (rd1 * 44.1 * g_size) + pos1) * hann1; rd2 = Wrap.ar(rd1 + 0.5); hann2 = (rd2 * pi).sin; pos2 = Latch.ar(Line.ar(pos * slice, (pos * slice) + slice, ~dur * len, doneAction: 2), rd2 > 0.99); gr2 = ...
-
... = LFSaw.ar(freq * [1,1.001, 1 + Rand(0,0.0001)]); sig1 = (sig * Rand(1,100)).wrap2(1)/2; sig = SelectX.ar( SelectX.kr(ExpRand(0.001,1), [ LFSaw.kr(1/8).range(0,1), SinOsc.kr(freq % 64 / 8).range(0,1), ]) , [sig, sig1]) ...
-
... _ratio = 3, fm_amount, dur = 2, fm_lfo; var snd, fm, env, lfo; lfo = LPF.ar(Wrap.ar(LFSaw.ar(lfo_rate, 1, 0.5, 0.5) + l_shift), 50); fm = SinOsc.ar(freq * fm_ratio, 0, SinOsc.ar(fm_lfo, 0, fm_amount)); env = EnvGen.kr(Env.sine(dur, ...
-
... evel * 0.2)) * drive.pow(4); // fig 44.4: Stator stator = (Wrap.ar(drive * 2) * 2pi).cos; // notice the difference in SC between (stator * stator) and stator.pow(2) // to achieve the desired sound resu ...
-
... ult // value. Any paramter can be replaced by a preexisting variable clipped/wrapped/folded to the high and low values. // in [\freq, [1,44100],[200,1600]], the first set of values are the clip range for a UGen input; the second // ...
-
... x@y); point = [x,y]; Pen.stroke; }; win.refresh; }; //RGB values wrap through range 0≤x<2 //and are folded into 0≤x≤1 via mouseMove function //thus RGB values oscillate linearly, out of phase with //one another, back and f ...
-
... or * 3147; mod3 = (mod3 * 2pi).cos + ((mod3 * 2 * 2pi).cos * 0.3); mod1 = ((Wrap.ar(modulator.min(0.1714) * 5.84) - 0.5).squared * (-4) + 1) * (mod2 * mod3); mod1 = (mod1 * 0.1)!2; }.play; ) // To stop: a.free; // Fig 50 ...