Skip to content

Instantly share code, notes, and snippets.

View snailmusic's full-sized avatar
👀
working on the previous big thing

snail snailmusic

👀
working on the previous big thing
  • jemp inc
  • behind you
  • 04:42 (UTC -05:00)
View GitHub Profile
(
SynthDef.new(\raindrop, {
arg freq=800, vol=0.1, decay=0.1, pan=0, out=0, minspeed=0.2, maxspeed=3;
var sig, sig2, env, env2, pulseSpeed;
pulseSpeed = LFNoise0.kr(5).range(minspeed, maxspeed);
env = EnvGen.kr(Env.perc(releaseTime:decay), Trig.kr(
Impulse.kr(
pulseSpeed
)
));