Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (33) Doc (65) Help (25) Quark (88) SCDoc ↗ Forum ↗ Google ↗
  1. kitchen_studies Doc

    ... ar( Env([0, amp, amp, 0], [att, granDur - att - rel, rel], 0), doneAction: 2 ); OffsetOut.ar(out, Pan2.ar(src, pan) * env); }, \ir!10).add; // posRate of 1 (given by posRateE and posRateM) means // pos movement through the buffer with origi ...

  2. TelepathicClock Doc

    ... e= EnvGen.ar(Env.perc(0, 0.1, amp), doneAction:2); z= SinOsc.ar(freq, 0, 0.2); OffsetOut.ar(0, Pan2.ar(z*e, pan)); }).add; ); ) // play a pattern on clock t: // clock U following clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq( ...

  3. particle_system_with_sound Doc

    ... scFB.ar(freq+d, (d*0.01).clip(0, 1), amp); DetectSilence.ar(src, doneAction:2); OffsetOut.ar(out, Pan2.ar(src, pan)); }).add; s.sync; Synth(\main, [\in, 40, \out, 0]); ~ps= TraerParticleSystem(0, 0, 0, 0.1); mouse= TraerParticle(1); mouse.p ...

  4. Impulse Doc

    ... lay; ⧉ ✔ an Impulse with frequency 0 returns a single impulse: SynthDef(\imp, { OffsetOut.ar(0, Impulse.ar(0)); FreeSelf.kr(Impulse.kr(0)) }).add; fork { (1 / (1..60).scramble).do { |dt| Synth.grain(\imp); dt.wait } }; ⧉ ✔ helpfile source: ...

  5. OSCBundle Doc

    ... nchronous, // i.e. we have to wait until it is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used w ...

  6. Pmindread Doc

    ... d(4000, 500), Rand(2500, 200), 1), 0.02 ) * Linen.kr(gate, 0.01, 0.7, 0.03, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) Pdefn(\mind, Pseq([1, 0, 1, 1, 0, 1], inf)); ( Pdef(\x, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \n ...

  7. RedGrain2 Doc

    ... on Language side granulator built upon Task . Same as RedGrain but does not use OffsetOut . Should be less cpu intensive but might sound a bit more rough. Class Methods . new Create granulator (stereo only for now) Arguments: server If nil ...

  8. LFGauss Doc

    ... 0, doneAction: Done.freeSelf).range; var son = FSinOsc.ar(i_freq, 0.5pi, env); OffsetOut.ar(out, Pan2.ar(son, i_pan, i_amp)); }).add; ) // modulating various parameters ( Pdef(\x, Pbind( \instrument, \gabor, \freq, Pbrown(step: 0.01).linex ...

  9. SoftClock Doc

    ... e= EnvGen.ar(Env.perc(0, 0.1, amp), doneAction:2); z= SinOsc.ar(freq, 0, 0.2); OffsetOut.ar(0, Pan2.ar(z*e, pan)); }).add; ); ) // play a pattern on clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan ...

  10. Exercise_14_HOA_NRT_decoding_script Doc

    ... layBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOADec5_0.ar(~order.asInteger, playFile, lf_hf: lowfreq_highfreq, xover: crossOver);) }).load(s); s.sync; // we need to load the SynthDef with t ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow