-
... .03) }); // a modulated delay line t.filter(\c, { |input| DelayC.ar(input, 0.2, SinOsc.ar(Rand(2, 8)).range(0, 0.2)) + input }) // now change the steno program --acb --accccc --accbcc // square brackets represent parallel processes --a[(ab) ...
-
... disabling sync.) Then phaseMod is added to this. Note: When phase-modulating a SinOsc, the SinOsc expects phase in radians, 0.0 to 2pi. With this range, the spectral effect is the same between frequency modulation and phase modulation, for ...
-
... keUpDelay; var size = 2048; var halfSize = (size / 2).asInteger; // Inputs in = SinOsc.ar(440); // LFOs lfo = SinOsc.kr(0.3); // lfo = 1; // fixed, left // lfo = 0; // fixed, center // lfo = -1; // fixed, left // create time-varying stereo ...
-
... ynth drives bits of audio rhythmically ( { var concat, control, input; control= SinOsc.ar(0.5)*Saw.ar(SinOsc.kr(LFNoise0.kr(MouseY.kr(0.01,1),3,4.5),0,50,MouseY.kr(120,500))); input=SoundIn.ar; concat= Concat.ar(control,input,4.0,4.0,4.0,Mo ...
-
... reqMod; freqMod = LFNoise2.kr(3.3).range(0.99, 1.01); // L and R channels inL = SinOsc.ar(440 * freqMod, mul: 0.3); inR = SinOsc.ar(330 * freqMod, mul: 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( Env.perc(releaseTime: 0.3), Impulse. ...
-
... scale.size, 1, { |b| b.setnMsg(0, scale) }); play({ var mix; mix = // lead tone SinOsc.ar( ( DegreeToKey.kr( buffer.bufnum, MouseX.kr(0, 15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 72 // offset by 72 notes ) + ...
-
... ogether. Here, each _ becomes the result of the previous expression. With UGens SinOsc.ar(440) |> LPF.ar(_, \lpf.kr(15000)) |> HPF.ar(_, \hpf.kr(20)) |> Out.ar(\out.kr(0), _); ⧉ ✔ A sine wave that is filtered by a low pass, then high pass, ...
-
... cumented instance methods . signalRange Examples { Trig1.ar(Dust.ar(1), 0.2) * FSinOsc.ar(800, 0.5) }.play To create a fixed duration gate ( SynthDef("trig1", { |dur = 0.125| var gate; gate = Trig1.kr(1.0, dur); OffsetOut.ar(0, SinOsc.ar(80 ...
-
... ooking 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. mag = (real.square ...
-
... adius in AU SynthDef(\planet,{ |out=0, freq=200, modAmp=1, modFreq=1| var sig = SinOsc.ar(freq+(modAmp*freq/2*SinOsc.kr(modFreq))); Out.ar(out,sig*0.2); }).add ) ( y=SolarSystem.new; y.planets.do{|p,i| var freq, modAmp,modFreq; var o = SSOb ...