Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Scanned Wave Synthesis
name
code content
( SynthDef(\scansynth1, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var in, ou; var spring = (0.12).dup(40); var damp = (0.0564812).dup(40); var springs; var sel; in = LPF.ar(LocalIn.ar(1), XLine.ar(1,10,0.3)) * 0.97 + (LPF.ar(Trig.ar(gate, 0.01),200) * WhiteNoise.ar.range(0.98,1)); ou = in; springs = spring.collect { arg spr, i; ou = Spring.ar(ou, spr, damp[i]); }; LocalOut.ar(ou); sel = VarSaw.ar(freq * [0.999,1,0.499,2,1.01] * 0.5, width: LFNoise2.ar(1/2).range(0.2,0.5)).range(0, spring.size-1); ou = Splay.ar(SelectX.ar(sel, springs), 1); ou = ou * EnvGen.ar(\adsr.kr(Env.adsr(0.3,0.1,0.8,0.1)),gate,doneAction:2); ou = Pan2.ar(ou, pan, amp); Out.ar(out, ou); }).add; ) ( Pdef(\plop, Pbind( \instrument, \scansynth1, \scale, Scale.minor, \degree, Pseq([0,2,4],inf) + [0,2,4,-12], \strum, 3/8, \dur, 3, \amp, 2, \legato, 1.4 )).play; )
code description
Impetus provided by this fine thread: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Scanned-Synthesis-in-SC-td7585748.html
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change