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

key argument #3

Open
tlevine opened this issue Oct 23, 2013 · 1 comment
Open

key argument #3

tlevine opened this issue Oct 23, 2013 · 1 comment

Comments

@tlevine
Copy link
Contributor

tlevine commented Oct 23, 2013

I want my music to have a key so that it sounds decent. There should be a key argument for to_midi that acts like this.

key=A4 or key=440: The mean value for each column will be middle A, and the key of A major will be used. Data will be scaled so an octave up (A5 or 880) is a standard deviation above the mean.

@tlevine
Copy link
Contributor Author

tlevine commented Oct 23, 2013

We can use the key signature meta-event to store part of this. We'll also need to store the spread and centrality measures, though. We could maybe use a text meta-event.

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