Spelling rules for common music notation.
Spelling for incomplete functions.
Spelling for natural (♮) notes only.
map pc_spell_natural_m [0,1] == [Just (C,Natural),Nothing]
Erroring variant of
map pc_spell_natural [0,5,7] == [(C,Natural),(F,Natural),(G,Natural)]
Use spelling from simplest key-signature. Note that this is
8, which could be either G Sharp (♯) in A Major
or A Flat (♭) in E Flat (♭) Major.
map pc_spell_ks [6,8] == [(F,Sharp),(A,Flat)]
Use always sharp (♯) spelling.
map pc_spell_sharp [6,8] == [(F,Sharp),(G,Sharp)] Data.List.nub (map (snd . pc_spell_sharp) [1,3,6,8,10]) == [Sharp] octpc_to_pitch pc_spell_sharp (4,6) == Pitch F Sharp 4