Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = 7, buffer, startPos = 0, attack = 0, release = 20, panning = 0; var snd, env; env = Env.perc(attackTime: attack, releaseTime: release, level: amp).kr(doneAction: 2); snd = PlayBuf.ar( numChannels: 1, bufnu ...

  2. Villainous - 115granular by melliott (melliott) Code

    ... ttack = 0.02, release = 0.5, ffreq = 1000, rq = 0.1, panning = 0; var snd, env; env = Env.perc(attackTime: attack, releaseTime: release, level: amp).kr(doneAction: 2); snd = PlayBuf.ar( numChannels: 2, bufnu ...

  3. Stockmarket Sonification by telephon (telephon) Code

    ... SynthDef(\dollar, { |out, freq = 440, amp = 0.1, pan = 0, sustain = 1.0| var env = EnvGen.kr(Env([amp, amp, 0], [sustain, 0.01]), doneAction: 2); var decay = freq ** -0.5 * 100; var string = CombL.ar(Decay2.ar(Impulse.ar(0), 0.0001, ...

  4. It's more fun to compute this snare by 38nonprivate (38nonprivate) Code

    ... body please remind me. As usual, it's close but no cigar. Nano changes in the envelope times produce wildly different end results. Room for improvement: all Rands should be TRands, doneAction should be an argument, then it could be ret ...

  5. L'onde longtemps captive en s'écoulant murmure by 0-2U (grirgz) Code

    ... , pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; var env1; var fspread; env1 = EnvGen.kr(Env([1,2,1],[1.7,0.8]), 1); fspread = 0.0007 + Rand(0,0.007); sig = SinOsc.ar(freq * ((0..7)/7 - 0.5 * fspread + 1)) ...

  6. Molecular music box 2 by 0-2U (grirgz) Code

    ... nOsc.kr(3)*0.01+1)); sig = sig + LFTri.ar(freq * [1,1/2,1.01]); sig = sig * EnvGen.ar(\adsr.kr(Env.adsr(0.01,0.1,0.8,0.1)),gate,doneAction:doneAction); sig = Splay.ar(sig, spread, amp, pan); Out.ar(out, sig); }).add; SynthDef(\saw ...

  7. Midterm Q2 by 0-9Q (unknown) Code

    ( SynthDef("sawSynth",{arg freq, amp; var env, snd; env = Env.perc( attackTime:0.1, releaseTime:2, level:amp).kr(doneAction: 2); snd = Saw.ar( freq:freq*[0.99, 1.0, 1.001, 1.008], mul: env); snd = LPF.ar(in: snd,f ...

  8. click clack toot // fm-grains by lf0 (_Lf0) Code

    ... e granular synthesis but failed in the end to make nice randomized modulation envelopes. */ /* clicks and ambience. click clack tooot..... partly loud clicks... i tried to practice granular synthesis but failed in the end to m ...

  9. Randomized FM7 perc sounds by davidmorgan (david_morgan) Code

    ... /// // 1 TempoClock.default.tempo_(60/60); //////////////////// // 2 ( ~env = {arg min = 1, max = 1, trig, dur; var shape = Env.shapeNames.choose; var num = rrand(4,16); var levels = (0..rrand(3,8)).collect({1.0.rand;}); v ...

  10. Re: 808-ish Cowbell by pdupuis (p.dupuis) Code

    ... owbell, { | out=0, amp=0.3, gate=1, fund_freq=540, pan=0.0 | var sig, env, hash; // hash = DC.ar(0); hash = BPF.ar( Hasher.ar(Sweep.ar(rate: TRand.kr(1.0, 10.0))), fund_freq * 1.4, 0.5, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow