Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Re: 808-ish Cowbell
name
code content
( SynthDef(\cowbell, { | 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, 2 ).tanh * Env.perc(0.001, 0.02).ar(0); sig = Pulse.ar( fund_freq * [ 1, 1.5085 ], [ 0.565, 0.445 ], [ 0.4, 0.6 ] ).atan; env = EnvGen.ar( Env( [ 0, 0.05, 1, 0.1, 0 ], [ 0.003, 0.002, 0.05, 0.5 ], [2, -4, -4, -4] ), gate: gate, timeScale: [ 1.0, 1.5 ], doneAction: 2 ); sig = Mix( (hash + sig) * env ); sig = BPF.ar( sig, fund_freq * 2, 1.808 ); Out.ar( out, Pan2.ar( sig, pan, amp ) ); }).add; ) Synth(\cowbell);
code description
Now with a little more stick.
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