Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 15 //SynthDefs ( SynthDef("riser", {arg out = 0, amp = 0.5, pan = 0; var env, snd; env = Env.linen( 10, 0.000001, 0.0001, 0.5).kr(doneAction: 2); snd = LPF.ar( in: WhiteNoise.ar(env), freq: 2000, mul: amp ); Out.ar( ...

  2. Bass with Pluck by margo-gentile (Margo Gentile) Code

    ... ", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = WhiteNoise.ar; snd = HPF.ar(in: snd, freq: ffreq, mul: env); Out.ar(out, Pan2.ar(snd, p ...

  3. FINAL SCRATCH2 by bbates (bbates) Code

    ... 440, modfreq = 2, amp = 0.2, att = 0.01, rel = 3; var carrier, modulator, env; env = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(2); modulator = SinOsc.ar(modfreq).range(0, 1) ...

  4. SynthDEFaults by 0-cG (unknown) Code

    ... , velcurve, stereo, tune, random, stretch, sustain, mul, add); snd = snd * EnvGen.kr(Env.asr(0, 1, 0.1), gate, doneAction: 2); Out.ar(out, snd * amp); //by ???? }).add; // // // // // // // // // //// Electric ...

  5. modulate pattern keys with arbitrary envelopes by 0-2U (grirgz) Code

    ... curve| var start = In.kr(outbus, 1); ReplaceOut.kr(outbus, EnvGen.kr(Env([start, value], [time], curve), doneAction: 2)); }).store; // can't Pchain the resulting pattern, so use the "chain" argument to chain the inn ...

  6. Red alert by dsastre (DSastre) Code

    ... ance. Contains the subpatch shown in fig 58.6. ( SynthDef(\red, { var env, redAlert, dfbe, aIn, bIn, cIn, aOut, bOut, cOut; # aIn, bIn, cIn = LocalIn.ar(7).clumps([5,1,1]); env = [ EnvGen.ar(Env.new([0,1,1,0], [0.9, 0 ...

  7. Timpani by alextiberiuskirk (alextiberiuskirk) Code

    // Ressonance ( SynthDef(\Synth3, {arg ress = 0, choose = 0; var klank, env; klank = Klank.ar(`[choose !12, {Rand(0.128,0.700)}!12],BrownNoise.ar(0.7)); klank = klank; env = EnvGen.kr(Env.perc(0.07, ress), doneAction:2); ...

  8. Interpolate between Envs with Pseg by 0-2U (grirgz) Code

    For a long time, I thought it was impossible to use Pseg to interpolate between Envs like it does with simple values, but I discovered it only needs .asArray ( SynthDef(\sin, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig ...

  9. A1 - Heldt by 0-9R (unknown) Code

    ... , {arg out = 0, amp = 0.5, att = 0.005, rel = 0.2, ffreq = 4000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = WhiteNoise.ar; snd = HPF.ar(in: snd, freq: ffreq, mul: env); Out.ar(out, Pan2.ar(snd, p ...

  10. lcode07synths.scd by 0-91 (tedthetrumpet) Code

    ... |out, gate=1, buf, slices=16, slice=0, freq = 261.6255653006, amp=0.1| var myenv, env, start, len, basefreq = 60.midicps, rate, sig; rate = freq / basefreq; len = BufFrames.kr(buf); start = (len / slices * slice); myenv = Env.asr ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow