The Camelot Wheel [FINALIZED]
+1
−0
Given a musical key, output its number and letter on the Camelot Wheel (shown below).
Input
A musical key. Format is flexible - you may take in a string, an array of [note, sharp/flat/none, major/minor], or similar.
Output
The number and letter, either as a string, tuple, or array.
This is code-golf.
Questions
Do the input/output formats make sense? Are there any others I should consider? (I will add examples when I post the challenge)
0 comment threads