Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. CtkEvent Quark

    ... tion. If this is a number, the function will be executed that many times. If an Env, the function will be executed until the duration is satisfied (or, if the Env has a releaseNode, until .relase is called and the Env has finished). conditi ...

  2. ListTrig Doc

    ... ch is limited to the accuracy of the control rate. x = { |t_reset=0| var trigs, env, son, ramp; trigs = ListTrig.kr(b.bufnum, t_reset); env = EnvGen.ar(Env.perc(0.01, 0.1), trigs); son = SinOsc.ar(440, 0, env * 0.2); ramp = Phasor.kr(t_rese ...

  3. TestPattern3 Quark

    ... hDefs; Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441]).poll) * EnvGen.ar(Env.perc(0.01, 0.1), doneAction:2) * DC.ar(0.5) }).add; AlgaSynthDef(\testImpulse, { //FreeSelf.kr(Impulse.kr(0)); EnvGen.kr(Env.perc(0.01, 0.5), done ...

  4. gongFM_SC by oscar-recarte (Oscar Recarte) Code

    ... tio3=1.03, index2=2, index3=4, amp=0.7, dur=7, pan=0; var sig, op1, op2, op3, env1, env2, env3; env3 = EnvGen.kr(Env.new([0, 1, 1, 0], [0.4, 0.3, dur]), doneAction:2); env2 = EnvGen.kr(Env.new([0, 1, 1, 0], [0, 0.3, dur]), doneAction: ...

  5. acid_oto309 Quark

    SynthDef("acid_oto309", { arg out=0, gate=1, freq=440, amp=0.1, pan=0; var env1, env2, son, pitch; pitch = freq.cpsmidi; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0. ...

  6. waveguideFlute Quark

    ... breath = 0.09, ifeedbk1 = 0.4, ifeedbk2 = 0.4, dur = 1, gate = 1, amp = 2; var kenv1, kenv2, kenvibr, kvibr, sr, cr, block; var poly, signalOut, ifqc; var aflow1, asum1, asum2, afqc, atemp1, ax, apoly, asum3, avalue, atemp2, aflute1; var fd ...

  7. PenvirGet Quark

    // wslib 2009 // getenv for patterns /* Pbind( \freq, \freq.p(440) ).play; // same as: Pbind( \freq, PenvirGet(\freq, 440) ).play; ~freq = 550; // change freq ~freq = { 330 rrand: 550 }; ~freq = Pseq( [330,550,440, Pwhite( 440, 660, 1 )], i ...

  8. Looping sampler with crossfading by coreyker (coreyker) Code

    ... ut = Select.ar(startLoop, [srcA, LinXFade2.ar(srcB, srcA, pan:loopPan)]); var env = EnvGen.ar(Env.asr(attack, sustain, release, 1), gate, doneAction:2); Out.ar(0, Splay.ar(out) * env); }).add; // Try it out: ~buf = Buffer.read(s, ...

  9. generative melody by davidmorgan (david_morgan) Code

    ... TChoose.kr(trig2, \root.kr(60) + [0, 12, 24]) + (semi) * (inscale > 0); var env = Decay2.kr(in:trig * (inscale > 0), decayTime:lfo1); var freq = midi.midicps; var sig = SinOscFB.ar(freq.lag(0.01) * [1, 1.01], feedback: SinOsc.kr(0.1 ...

  10. clapGray Quark

    ... /master/pool/clap_oto309.scd Some of the modifications from oto309: -Instead of Env.new, the Synthdef now sends env1 through a delay line -Light reverb added for a more realistic sound -GrayNoise instead of WhiteNoise */ SynthDef("clapGray" ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow