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).
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).