music-notation-swift / music-notation-core

Music Notation Library in Swift (Deprecated. See `music-notation` instead)
MIT License
115 stars 16 forks source link

Store valid notes in a Key #95

Open drumnkyle opened 8 years ago

drumnkyle commented 8 years ago

The Key struct should use the circle of fifths to have a list of all of the valid notes in a key (which ones are sharp or flat). It will also need to be able to take that key and be able to apply a sharp or flat to it and give a new result. i.e. C (no sharps/flats); C# (all sharps).