oggy22 / MusicTools

Various musical tools including music hearing, machine composer and Chomsky music analyzer.
4 stars 2 forks source link

Translate from chromatic to diatonic #55

Open oggy22 opened 6 years ago

oggy22 commented 6 years ago

Given list of chromatic notes, produce equivalent list of diatonic notes in certain key.

For example (Yugoslavian anthem): 0,4,7,7,7,7,9,7,5,4,2,2,7,5,5,4 -> C major 0,2,4,4,4,4,5,4,3,2,1,1,4,3,3,2

If notes are too chromatic (i.e. don't below to any key all together) than throw exception.

oggy22 commented 5 years ago

It should include #54