Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. organ_tonewheel3 Quark

    ... , env, vibrato; env = EnvGen.ar(Env.linen(atk, sus, rel, 0.5), doneAction: Done.freeSelf); vibrato = Vibrato.kr(DC.kr(freq), DC.kr(vrate), DC.kr(vdepth), DC.kr(vdelay), DC.kr(vonset), DC.kr(vrateVariation), DC.kr(vdepthVariation)); sig = LF ...

  2. Spawning Doc

    ... .0), // frequency between 200 and 400 Hz 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf) // frees itself ) ) }).play(s); ) x.free; ⧉ ✔ Clocks, such as SystemClock , provide a way to schedule things at arbitrary points in the future. This i ...

  3. PG_Cookbook05_Using_Samples Doc

    ... 0 ), env = EnvGen.kr(Env.linen(0.01, time, 0.05, level: amp), doneAction: Done.freeSelf); Out.ar(out, (sig * env).dup); }).add; SynthDef(\bell, { |out, accent = 0, amp = 0.1, decayScale = 1| var exc = PinkNoise.ar(amp) * Decay2.kr(Impulse. ...

  4. Semi-Random Glitch SynthDef by makary-kleinschmidt (rumush) Code

    ... r(Impulse.kr(tRate), noise*0.001)).tanh; sound = Pan2.ar(sound, noise-0.3*2); FreeSelf.kr(t_trig); Out.ar(out, sound); }).store; ) ( Pbind( \instrument, \hasherTest, \dur, 5, \rate, Pfuncn({100.rand}, inf), \freq, Pfuncn({10000 ...

  5. organ_tonewheel0 Quark

    ... , 1+ DC.kr(vdepth)); env = EnvGen.ar(Env.linen(atk, sus, rel), doneAction: Done.freeSelf); sig = DynKlang.ar(`[[1/12, 1/7, 1, 12, 19, 24, 28, 31, 36].midiratio, ([DC.ar(bass) , DC.ar(quint), DC.ar(fundamental), DC.ar(oct), DC.ar(nazard), DC ...

  6. test_noise_burst Quark

    ... 0.3; var env; env = EnvGen.ar(Env.perc(attack, release, 0.5), doneAction: Done.freeSelf); trimDB.dbamp*amp*PinkNoise.ar(1); };

  7. little by fatherjason (fatherjason) Code

    ... ig, cutoff); sig = sig * Env.perc(\atk.kr(0.01), duration, curve: -4).ar(Done.freeSelf); Out.ar(\out.ar(0), sig!2 * \amp.ar(1)); Out.ar(\fx.ar(0), sig!2 * fxSend.dbamp); }).add; SynthDef(\kick, { var sig, freq; freq = \freq.ar ...

  8. Rand Doc

    ... .ar(out, FSinOsc.ar( Rand(200.0, 400.0), 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf)) ) }).add; ) ( Routine({ 8.do({ Synth.new("help-Rand"); 1.0.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...

  9. triangleGrain Quark

    ... = startPos.clip(0.0, 1.0); env = EnvGen.ar(Env.triangle(dur), doneAction: Done.freeSelf); sig = PlayBuf.ar(1, bufnum, rate: BufRateScale.kr(bufnum) * rate, startPos: BufFrames.kr(bufnum) * startPos, loop: 1); sig * trimDB.dbamp; };

  10. RecordBuf Doc

    ... 00, 1000, 4), 2000, 800, 0.125); RecordBuf.ar(formant, bufnum, doneAction: Done.freeSelf, loop: 0); }).play(s, [\out, 0, \bufnum, b]); ) // play it back ( SynthDef(\help_RecordBuf_playback, { |out = 0, bufnum = 0| var playbuf; playbuf = Pla ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow