Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (474) Code (97) Doc (170) Help (73) Quark (130) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. Pause Help

    ... SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg gate=1; Out .ar(1, PinkNoise .ar(0.3)); Pause .kr(gate, 1001); }).send(s); s.sendMsg( \s_new , \a , 1001, 0, 0); s.sendMsg( \s_new , \b , 1002, 0, 0); s.sendMsg( \n_set , 1002, \g ...

  2. TestMcldUGens Quark

    ... ut { var tests = Dictionary[ "InsideOut.ar applied twice is noop" -> {var son = PinkNoise.ar; (son - InsideOut.ar(InsideOut.ar(son)))}, "InsideOut.kr applied twice is noop" -> {var son = PinkNoise.kr; (son - InsideOut.kr(InsideOut.kr(son))) ...

  3. oscillOrc2 Quark

    ... h 1 Hz and amp. 1. 0.001, 0.01, // attack time = 1 msec, decay time = 10 msec. (PinkNoise.ar(impulseToNoise) // PinkNoise with an amplitude depending on MouseX + (1 - impulseToNoise)) // + a number: this adds the Decay curve as an audio sig ...

  4. harpsichord_pluck Quark

    ... v = EnvGen.kr(Env.linen(atk, decaytime, rel), doneAction: Done.freeSelf); sig = PinkNoise.ar(amp); //Can use white noise here, but Pink is more realistic delay = freq.reciprocal; sig = Pluck.ar(sig, trig, maxdelaytime , delay , decaytime , ...

  5. In Help

    ... ndIn . read from an audio bus ( s = Server .local; s.boot; ) ( SynthDef ( "help-PinkNoise" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).send(s); SynthDef ( "help-In" , { arg out=0, in=0; var input; input = In .ar(in, 1); Out .ar(out, ...

  6. hommage à l'impressionnisme by pyoungryangko (prko) Code

    ... 0,0,0,0,0,0,0,0,0,0,0]; var snd, env; snd = Klank.ar(`[frqs, amps, rngs], PinkNoise.ar(1!2)); env = EnvGen.kr(Env([0,1,0], [atk, rls], -5), doneAction:2); OffsetOut.ar(0, snd * env); }).add; s.sync; { var numDo, ptc ...

  7. BusPlug Help

    ... ee; // using as a audio monitor p = BusPlug .audio(s,2); d = { Out .ar(p.index, PinkNoise .ar([0.1, 0.1])) }.play; p.play; // monitor whatever plays in p (the execution order does not matter) d.free; d = { Out .ar(p.index, PinkNoise .ar([0. ...

  8. chanTest Quark

    ( Ndef(\chanTest).prime({ PinkNoise.ar(\amp.kr(0.25, 0.5)) }); Tdef(\chanTest).addSpec(\timeStep, [0.2, 5, \exp, 0.01]); Tdef(\chanTest).addSpec(\numChans, [2, 100, \lin, 1]); Tdef(\chanTest).set(\timeStep, 1); Tdef(\chanTest).set(\numChans ...

  9. Spectralyzer Quark

    ... ew(61); // make a spectralyzer, x.makeWindow; // make a gui for it x.listenTo({ PinkNoise .ar }); // listen to a sound x.start; // start displaying ) *new (nBands, minFreq, maxFreq, server) nBands: number of equal relative width bands to an ...

  10. Thumper by sodapaper (soda paper) Code

    ... 30,0.25,7).sin*2); env = Env.perc(0.05, 1, 1, -4); nse = BrownNoise.ar(2) + PinkNoise.ar(0.5) * EnvGen.kr(env,Impulse.kr(1), doneAction: 2); nse = Mix.ar(BPF.ar(nse,[100,1200,80,40,20],MouseX.kr(0,1),[1,0.2,1,1,1])); nse = LPF.ar ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow