Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Steno Tutorial Doc

    ... .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) ...

  2. MultiWtOsc Doc

    ... 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 ...

  3. BlumFollowBalance Doc

    ... 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 ...

  4. Concat Doc

    ... 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 ...

  5. BlumRotate Doc

    ... 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. ...

  6. DegreeToKey Doc

    ... 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 ) + ...

  7. PipeFunctionChaining Doc

    ... 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, ...

  8. Trig1 Doc

    ... 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 ...

  9. Goertzel Doc

    ... 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 ...

  10. SolarSystem Doc

    ... 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 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow