mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-24 13:55:16 +00:00
10 lines
277 B
Python
10 lines
277 B
Python
|
"""
|
||
|
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)
|