hardwareAudioPorts=cbox.JackIO.get_ports("system*",cbox.JackIO.AUDIO_TYPE,cbox.JackIO.PORT_IS_SINK|cbox.JackIO.PORT_IS_PHYSICAL)#don't sort. This is correctly sorted. Another sorted will do 1, 10, 11,
@ -42,6 +42,7 @@ from .menu import MenuActionDatabase
from.scoreviewimportScoreView
from.trackEditorimportTrackEditor
from.resourcesimport*
fromengine.configimportMETADATA
classMainWindow(TemplateMainWindow):
@ -116,6 +117,20 @@ class MainWindow(TemplateMainWindow):
self.start()#Inherited from template main window #This shows the GUI, or not, depends on the NSM gui save setting. We need to call that after the menu, otherwise the about dialog will block and then we get new menu entries, which looks strange.
stepMidiInput.start()#imported directly. Handles everything else internally, we just need to start it after the engine somehow. Which is here.
#Check if to connect the metronome on startup. But only when not running under NSM