Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (192) Code (40) Doc (62) Help (29) Quark (60) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. InstrGateSpawner Doc

    ... lue }) A metro-gnome ( var nome,layout; nome = InstrGateSpawner({ arg freq,amp; Decay2.ar( Impulse.ar(0.0), 0.01,0.11, SinOsc.ar( freq, 0, amp ) ) * EnvGen.kr(Env.perc,doneAction: 2) },[ Pseq([ 750, 500, 300, 500, 750, 500, 400, 500, 750, 5 ...

  2. QuickStart Doc

    ... le.kr(bufnum), trig, speed.linlin(0, 10.0, 5000, BufFrames.kr(bufnum)), 0)*0.7; Decay2.ar(trig, 0.01, 0.1, in); } ); ~steeringBehavior1 = Arrive(~unit1.entity, RealVector2D[18, 20.5]); ~unit1.entity.force_({ arg entity; ~steeringBehavior1.v ...

  3. NTube Doc

    ... 0.1, lagtime=0.1, freq=440| var env; var lossarray, karray, delaylengtharray; //Decay2.ar(Impulse.ar(freq),lagtime,0.01) var source= SinOsc.ar(freq)*(0.95+(Line.kr(0,1,0.2)*0.05*BrownNoise.ar)); env= EnvGen.ar(Env([0,1,0.8,0.8,0],[0.01,0.01 ...

  4. 12-Groups Doc

    ... turns a random number from -1 to 1, used here for a random pan source = Pan2.ar(Decay2.ar(Impulse.ar(Rand(0.3, 1), 0, 0.125), 0.3, 1, SinOsc.ar(SinOsc.kr(0.2, 0, 110, freq))), Rand(-1.0, 1.0)); Out.ar(outBus, source * direct); Out.ar(effect ...

  5. Bus Doc

    ... helpBusMulti, { |out| var freqs = b.kr; Out.ar(out, Splay.ar(SinOsc.ar(freqs) * Decay2.ar(Dust.ar(10 ! 4), 0.001, 0.1)) * 0.5); }).play; ) // set bus beginning at index 0: // none of these methods checks whether the indexes remain // within ...

  6. UserFAQ Doc

    ... ponder and a different action per synth. ( a = { var trig = Dust.kr(8), decay = Decay2.kr(trig, 0.01, 0.1), sig = SinOsc.ar(TExpRand.kr(200, 600, trig), 0, 0.1) * decay; SendReply.kr(trig, '/bleep', trig); sig ! 2 }.play; o = OSCdef(\bleepR ...

  7. PG_03_What_Is_Pbind Doc

    ... (\trig_demo, { |out, freq = 440, gate = 1, t_trig = 1| // t_trig here var env = Decay2.kr(t_trig, 0.01, 0.1), sig = SinOsc.ar(freq, 0, env) * Linen.kr(gate, 0.01, 0.1, 0.1, doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; ) ( p = Pm ...

  8. Server_Tutorial Doc

    ... a noise pulse SynthDef("tish", { arg freq = 1200, rate = 2; var osc, trg; trg = Decay2.ar(Impulse.ar(rate,0,0.3), 0.01, 0.3); osc = {WhiteNoise.ar(trg)}.dup; Out.ar(0, osc); // send output to audio bus zero. }).add; ) ( // define an echo ef ...

  9. Tutorial Doc

    ... a noise pulse SynthDef("tish", { arg freq = 1200, rate = 2; var osc, trg; trg = Decay2.ar(Impulse.ar(rate,0,0.3), 0.01, 0.3); osc = {WhiteNoise.ar(trg)}.dup; Out.ar(0, osc); // send output to audio bus zero. }).add; ) ( // define an echo ef ...

  10. Pbind Doc

    ... nb, { |out = 0, freq = 80, amp = 0.01, pan = 0, gate = 1| var synth, env; env = Decay2.kr(gate, 0.05, 8, 0.0003); synth = RLPF.ar( LFPulse.ar(freq, 0, SinOsc.kr(0.12, [0, 0.5pi], 0.48, 0.5)), freq * SinOsc.kr(0.21, 0, 18, 20), 0.07 ); #a, b ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow