mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-15 12:32:18 -05:00
11 lines
275 B
Python
11 lines
275 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 xrange(10):
|
||
|
for index, note in enumerate(NOTES):
|
||
|
NOTE_NAME[octave*12+index] = "%s (octave %s)" % (note, octave)
|
||
|
|