Submit
Browse
Random
Anonymous
Login
RSS
☾
SuperCollider Code
Fork Code: how to generate the synthdef with a pattern
name
code content
( Pdef(\zed, Pbind( \osc, Pseq([SinOsc, LFSaw],inf), \instrument, Prout({ arg ev; SynthDef(\zed, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig = ev[\osc].ar(freq); sig = sig * EnvGen.kr(\adsr.kr(Env.adsr(0.1,0.1,0.8,0.1)), gate, doneAction:2); sig = Pan2.ar(sig, pan, amp); Out.ar(out, sig); }).add.yield; }).loop, \degree, Pseq([0],inf), \dur, 1, \amp, 0.1, ) ).play; );
code description
synthdef building should take less time than s.latency for this to work
use markdown for formatting
preview markdown
category tags
comma separated, e.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identifiers, e.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