Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Recursion-toy-like vines with Pen by uiae (uiae) Code

    ... Branches = 6; q.minRadius = 0.15; q.maxRadius = 70; q.makeBranch = { arg env, x, y, theta, radius, scale = 1.0, generation = 1; ( x: x, y: y, ox:x, oy: y, x1: nil, x2: nil, y1: nil, y2: nil, scale: 1.0, ...

  2. Re: Generating Graphics and Music From The Dragon Curve by blueprint (blueprint) Code

    ... snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4.0), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380), 120); // The "clicking" sounds are modeled wi ...

  3. UI sounds (pt1) by nicolaariutti (nicolaariutti) Code

    ... amp=0.2, fc=1000, fm = 100, idx = 100, atk=0.01, rls=0.1 | var env = EnvGen.ar(Env.perc(atk, rls), doneAction:2); var modulator = SinOsc.ar(fm); var carrier = SinOsc.ar(fc + (idx*modulator) ); var sig = carrier * env ...

  4. Pluck (Karplus-Strong) example by bruno (Bruno Ruviaro) Code

    ... ynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime ...

  5. Additive Synthesis GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... to play first 16 partials of a harmonic series. Horizontal Sliders control ADSR envelope. All partials have equal amplitude. // ************************************ // Additive Synthesis Demo (GUI) // Patch 1 - Harmonic Series // Bruno R ...

  6. pluck birds in desert by vividsnow (vividsnow) Code

    ... Osc.ar(1/gen!8).exprange(1,1.2), 0, LFNoise2.ar(gen!8).exprange(0.08,0.5) * EnvGen.ar( Env.perc.blend(Env.sine, LFNoise2.kr(gen!8)).circle, timeScale: gen!8 // LFNoise2.ar(gen!8).range(1/5, 5) ) ).clump(2).mean, LFN ...

  7. GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code

    ... fundamental=55, ratio=10, amp=0.25, pan=0, atk=0.02, rel=0.1, out=0; var sig, env; env = Env.perc(atk, rel); env = EnvGen.ar(env, doneAction: 2); sig = SinOsc.ar(fundamental.lag(0.5) * ratio); sig = sig * env * amp.lag(0.5); ...

  8. simple offset patterns v01 by neillvermaak (neill.vermaak) Code

    ... ur=1.0, lfor1=0.08, lfor2=0.05, nl=0.5, filt=5000; var sig, sub, lfo1, lfo2, env, noise; lfo1 = SinOsc.kr(lfor1, 0.5, 1, 0); lfo2 = SinOsc.kr(lfor2, 0, 1, 0); sig = SinOscFB.ar(freq, lfo1, 1, 0); sub = SinOscFB.ar(fre ...

  9. A Modular Approach To Phase Modulation by bp (bp) Code

    ... e what I mean. ( s.waitForBoot{ SynthDef(\pmOperator, { var sig, env, freq, vibrato, detune; env = Env.adsr( \atk.kr(0.01), \dec.kr(0.3), \sus.kr(0.5), \rel.kr(1.0), curve: \curve.kr(-4)).ar ...

  10. birdy by vividsnow (vividsnow) Code

    ... rolling arrayed args using pattern ( fork { var size = 3.rrand(10).debug('envelope size'); {|dur=1, amp=0.8, pan = 0| Pan2.ar( SinOsc.ar( EnvGen.ar(Env(\freq_l.kr(400!size), \freq_d.kr(0.1! ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow