diff --git a/template/engine/pitch.py b/template/engine/pitch.py index a7e782f..be0ea40 100644 --- a/template/engine/pitch.py +++ b/template/engine/pitch.py @@ -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 + + + diff --git a/template/qtgui/mainwindow.py b/template/qtgui/mainwindow.py index 5968ee6..29e14de 100644 --- a/template/qtgui/mainwindow.py +++ b/template/qtgui/mainwindow.py @@ -29,6 +29,7 @@ from sys import exit as sysexit #Third Party from PyQt5 import QtCore, QtGui, QtWidgets +logger.info(f"PyQt Version: {QtCore.PYQT_VERSION_STR}") #from PyQt5 import QtOpenGL #Template Modules diff --git a/template/start.py b/template/start.py index da42fa8..481d251 100644 --- a/template/start.py +++ b/template/start.py @@ -67,6 +67,9 @@ Nuitka complies that in, when make is finished we delete it. import sys import os import os.path + +logger.info(f"Python Version {sys.version}") + try: from compiledprefix import prefix compiledVersion = True