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. startup00-ddwSynths Quark

    ... outbus, value, time, curve| var start = In.kr(outbus, 1); ReplaceOut.kr(outbus, EnvGen.kr(Env([start, value], [time], curve), doneAction: 2)); }).perform(Library.at(\ddwGlobal, \storeMethod), \ddwSynths); // this def plays an arbitrary enve ...

  3. Proto Quark

    ... ons (evaluation, new object generation, self-modification) // must be stored in environment variables // certain variables must have specific names to be found easily from outside: // ~next = func to generate next value Proto { classvar <>s ...

  4. 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 ...

  5. 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) ...

  6. 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 ...

  7. 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 ...

  8. synths Quark

    ... tyle */ Instr([\synths,\Pulse],{ arg trig=1.0, freq=440, ffreqInterval=0,rq=0.4,env,qnty=4,detune=2; var p,width; p = Splay.arFill(qnty,{ arg i; Pulse.ar(freq + Rand(detune.neg,detune), LFNoise1.kr(0.1,0.45,0.55) ) }); p=RLPF.ar(p,freq * ff ...

  9. 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 ...

  10. 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); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow