From 7a997df736f92a74b64450f23c70cf4547721506 Mon Sep 17 00:00:00 2001 From: pin Date: Tue, 23 Mar 2010 09:57:42 +0000 Subject: [PATCH] Ajout de commentaires. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@110 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/app/minwii.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.20.1