Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play with permutations #5

Open
evanlenz opened this issue Dec 29, 2020 · 1 comment
Open

Play with permutations #5

evanlenz opened this issue Dec 29, 2020 · 1 comment
Assignees

Comments

@evanlenz
Copy link
Owner

This is an extension to the piece-reconstruction algorithm.

Permutations can include:

  • the same eight notes (per half-measure) in different orders
  • permutations of a different selection of eight from the same five (i.e. with a bass note or two being played twice instead of all the treble notes being played twice)

Answer this math problem: how many possible permutations are we talking about here?

If it’s not overwhelming (i.e. doesn’t take hours to hear them all), generate and listen to them all.

@evanlenz
Copy link
Owner Author

Possible constraints if we want to or need to limit the number of permutations:

  • Don’t repeat the first two notes of each half-measure
  • Don’t repeat notes consecutively (e.g. G in G G C E C E)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant