Skip to content

Instantly share code, notes, and snippets.

@bigs
Last active May 8, 2018 17:09
Show Gist options
  • Save bigs/e7853057dd8b60dcd9e9c16f5ed821fb to your computer and use it in GitHub Desktop.
Save bigs/e7853057dd8b60dcd9e9c16f5ed821fb to your computer and use it in GitHub Desktop.
(
play{
var n = 5;
var fmodrate = Duty.kr(2, 0, Drand([1/16, 1, 1/16, 1/8, 4], inf));
var modfreq = Slew.kr(Duty.kr(8, 0, Drand([110, 220, 440], inf)));
Limiter.ar(GVerb.ar(Pan2.ar(
Mix.fill(n, { arg index;
SinOsc.ar(220 + (index ** n), SinOsc.ar(modfreq + (index ** n), 0, Saw.kr(fmodrate, 2.5, 2.5)), 1 / n)
}),
SinOsc.kr(1)
), revtime: SinOsc.kr(1/16, 0, 2, 3), damping: 0.2
));
};
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment