Post History
Sandbox
The Camelot Wheel [FINALIZED]
#4: Post edited
The Camelot Wheel [FINALIZED]
Given a musical key, output its number and letter on the [Camelot Wheel](https://mixedinkey.com/harmonic-mixing-guide/) (shown below). ![Camelot Wheel](https://codegolf.codidact.com/uploads/SryDAK5aTZE5KLf6tiasx5wu) # 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)
#3: Post edited
The Camelot Wheel [FINALIZED]
Given a musical key, output its number and letter on the [Camelot Wheel](https://mixedinkey.com/harmonic-mixing-guide/) (shown below). ![Camelot Wheel](https://codegolf.codidact.com/uploads/SryDAK5aTZE5KLf6tiasx5wu) # 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)
#1: Initial revision
The Camelot Wheel
Given a musical key, output its number and letter on the [Camelot Wheel](https://mixedinkey.com/harmonic-mixing-guide/) (shown below). ![Camelot Wheel](https://codegolf.codidact.com/uploads/SryDAK5aTZE5KLf6tiasx5wu) # 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)