Created
November 12, 2015 20:30
-
-
Save anonymous/797d7c7dea98352a39d7 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
# Say a measure consists of 16 notes | |
# I have 4 different groupes of notes : 3,4,5,6 | |
# I want to generate all the possible ways of achieving 16 notes using those (and only those) groups of notes | |
# Order is important here 4,3 is not the same as 3,4 | |
# An example : [4,4,4,4] (the sum is 16) | |
# Another : [3,3,3,3,4] (again) | |
# etc... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment