Skip to content

Instantly share code, notes, and snippets.

@echophon
Created February 19, 2019 15:54
Show Gist options
  • Save echophon/c203e339c1189e9a0e9631e7dd7f6ba3 to your computer and use it in GitHub Desktop.
Save echophon/c203e339c1189e9a0e9631e7dd7f6ba3 to your computer and use it in GitHub Desktop.
do -- i <3 perlin
let p2w a b = perlin2With (slow a $ cosine) (slow b $ sine)
d1 $ every 8 (fast 2)
$ juxBy (p2w 2 8) (|+ coarse "2")
$ juxBy (p2w 3 5) (|* coarse (segment (1/4) $ choose[2..20]))
$ s "[supersaw:-36*32, supersaw:-24?*4, supersaw:36?*1]"
# bpf (rangex 40 6000 $ p2w 2.2 1.15)
# hpf (rangex 40 6000 $ p2w 4 2.475)
# accelerate (range (-1) 1 $ p2w 10.8 2.3)
# legato (range 0 2 $ p2w 5 4)
# cps (p2w 12 5.5) |+ cps "0.25"
# shape (range 0 0.9 $ p2w 2 3)
# size (p2w 6 5)
# room "0.2"
# gain "0.8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment