Open oggy22 opened 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.
It should include #54
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.