csv / ddpy

11 stars 0 forks source link

key argument #3

Open tlevine opened 10 years ago

tlevine commented 10 years ago

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 commented 10 years ago

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.