Skip to content

Instantly share code, notes, and snippets.

@scztt
Last active January 28, 2021 13:22
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 scztt/238b0ad9d50ac57a77449d79cae1415e to your computer and use it in GitHub Desktop.
Save scztt/238b0ad9d50ac57a77449d79cae1415e to your computer and use it in GitHub Desktop.
(
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