~myCanon
.canon //we extract the canon from the data structure that is returned
.collect(~instrument.([\dist,\dist,\dist3], amp: 1, repeat: 1)) // we pass each voice into our ~instrument. At this point ~instrument is returning a MakePbind
, because it has been partially applied with ([Symbol], Amp, Repeat)
. This line will return: [Pbind, Pbind, Pbind, Pbind]
.do({|pbind| pbind.play});// finally we play each voice
Created
August 12, 2018 15:39
-
-
Save furenku/fadefc1c46d98aeb5ec6458a996f4835 to your computer and use it in GitHub Desktop.
~instrument.scd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment