You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
277 B

"""
Shared code for tracker parser.
"""
NOTE_NAME = {}
NOTES = ("C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "G#", "A", "A#", "B")
for octave in range(10):
for index, note in enumerate(NOTES):
NOTE_NAME[octave * 12 + index] = "%s (octave %s)" % (note, octave)