|
|
@ -26,6 +26,8 @@ This file handles various pitches and their conversions. |
|
|
|
|
|
|
|
import logging; logger = logging.getLogger(__name__); logger.info("import") |
|
|
|
|
|
|
|
#Standard Library |
|
|
|
from collections import defaultdict |
|
|
|
|
|
|
|
#Third Party Modules |
|
|
|
#Template Modules |
|
|
@ -1158,9 +1160,15 @@ midi_notenames_gm_drums = [str(i) for i in range(0,35)] + [ |
|
|
|
"Open Triangle", |
|
|
|
] + [str(i) for i in range(87,128)] |
|
|
|
|
|
|
|
simpleNoteNames = { |
|
|
|
"German": midi_notenames_german, |
|
|
|
"English" : midi_notenames_english, |
|
|
|
"Lilypond" : midi_notenames_lilypond, |
|
|
|
"Drums GM" : midi_notenames_gm_drums, |
|
|
|
} |
|
|
|
|
|
|
|
def _defaultSimpleNoteNames(): |
|
|
|
return midi_notenames_english |
|
|
|
|
|
|
|
simpleNoteNames = defaultdict(_defaultSimpleNoteNames) |
|
|
|
simpleNoteNames["German"] = midi_notenames_german |
|
|
|
simpleNoteNames["English"] = midi_notenames_english |
|
|
|
simpleNoteNames["Lilypond"] = midi_notenames_lilypond |
|
|
|
simpleNoteNames["Drums GM"] = midi_notenames_gm_drums |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|