Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Ray Gun
name
code content
( SynthDef("raygun", {arg amp = 0.5, sinfreq = 1000, glissf = 0.001, att = 0.01, rel = 0.9; var gliss = XLine.kr(sinfreq, sinfreq*glissf, rel); var snd = SinOsc.ar(gliss); var env = EnvGen.kr(Env.perc(att, rel), doneAction: 2); snd = snd * env * amp; Out.ar(0, snd); }).add; ) ( Pbind( \instrument, "raygun", \dur, Pseq([0.75,0.75,0.75,0.75,0.25,0.25,0.25]*0.5, inf), \amp, 0.4 ).play; )
code description
The sound of an alien weapon firing.
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