Skip to content

Instantly share code, notes, and snippets.

@pcorey
Created April 16, 2020 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcorey/836ec580775ebca8784e020ac1003e02 to your computer and use it in GitHub Desktop.
Save pcorey/836ec580775ebca8784e020ac1003e02 to your computer and use it in GitHub Desktop.
-- https://en.wikipedia.org/wiki/Clapping_Music
do {
resetCycles;
d1 $ seqP [
(
0,
13 * 4,
n "0 0 0 ~ 0 0 ~ 0 ~ 0 0 ~"
# pan (range 0.2 0.25 perlin)
# gain (range 0.8 1.0 rand)
# sound "cp"
),
(
0,
13 * 4,
repeatCycles 4
$ iter "12"
$ n "0 0 0 ~ 0 0 ~ 0 ~ 0 0 ~"
# pan (range 0.7 0.75 perlin)
# gain (range 0.8 1.0 rand)
# sound "cp"
)
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment