Last active
January 28, 2021 13:22
-
-
Save scztt/238b0ad9d50ac57a77449d79cae1415e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
Pdef(\a, Pbind( | |
\degree, Pkey(\degreeBase) + Pseq([0, 2, 4], inf), | |
\dur, Pkey(\durMult) * Pseq([0, 2, 4], inf), | |
)); | |
Pdef(\base1, Pbind( | |
\degreeBase, 4, | |
\durMult, 1 | |
)); | |
Pdef(\base2, Pbind( | |
\degreeBase, -3, | |
\durMult, 0.25 | |
)); | |
) | |
Pdef(\out, Pdef(\a) <> Pdef(\base1)); | |
Pdef(\out, Pdef(\a) <> Pdef(\base2)); | |
Pdef(\out).play; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment