X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/892497bedb6699cdb0b5c2669ace09ec741f0383..7a997df736f92a74b64450f23c70cf4547721506:/src/app/minwii.py diff --git a/src/app/minwii.py b/src/app/minwii.py index 7901c9c..dbf1b23 100755 --- a/src/app/minwii.py +++ b/src/app/minwii.py @@ -24,6 +24,7 @@ class MinWii(object): synth = Synth() while True : + # sélection de la chanson home = Home(songPath=SONG_FILE_PATH) home.connect(QUIT, app.quit) app.run(home) @@ -32,6 +33,7 @@ class MinWii(object): if not returnValue : break + # sélection de l'instrument selector = InstrumentSelector() selector.run() selector.stop() @@ -39,6 +41,7 @@ class MinWii(object): EventDispatcher.reset() instrumentDescription = selector.selectedInstrument + # lancement du lecteur / clavier song = musicXml2Song(home.songFile, printNotes=True) bank, preset = instrumentDescription['bank'], instrumentDescription['preset'] synth.program_select(0, bank, preset)