]> CRI, Mines Paris - PSL - minwii.git/commitdiff
impression de la version du fichier de log.
authorpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Tue, 20 Apr 2010 09:32:23 +0000 (09:32 +0000)
committerpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Tue, 20 Apr 2010 09:32:23 +0000 (09:32 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@156 fe552daf-6dbe-4428-90eb-1537e0879342

src/app/log.py
src/app/minwii.py
src/app/synth.py

index 00c371b687c425bde7eceebfbf494b5f3ede0309..e3a2182f818794af3a26131eb59c63c3453b1eaa 100755 (executable)
@@ -13,6 +13,7 @@ import pygame
 import logging
 import os
 import datetime
 import logging
 import os
 import datetime
+LOG_FORMAT_VERSION='1.0-alpha'
 
 hiddenEvents = {pygame.MOUSEMOTION:True,
                 pygame.MOUSEBUTTONDOWN:True,
 
 hiddenEvents = {pygame.MOUSEMOTION:True,
                 pygame.MOUSEBUTTONDOWN:True,
index 31bee79978f26e31a45c94f22214a90e08880666..a0a9161fd739ef3dedd1bd2c1fb515588e649c72 100755 (executable)
@@ -18,12 +18,13 @@ from eventutils import EventDispatcher
 from musicxml import musicXml2Song
 from config import SONG_FILE_PATH
 from globals import PLAYING_MODES_DICT
 from musicxml import musicXml2Song
 from config import SONG_FILE_PATH
 from globals import PLAYING_MODES_DICT
-from log import console
+from log import console, LOG_FORMAT_VERSION
 
 
 class MinWii(object):
     
     def __init__(self, wiimoteSupport=True) :
 
 
 class MinWii(object):
     
     def __init__(self, wiimoteSupport=True) :
+        console.info('winwii log format version : %s', LOG_FORMAT_VERSION)
         self.wiimoteSupport = wiimoteSupport
         LaunchScreen()
         self.app = Desktop()
         self.wiimoteSupport = wiimoteSupport
         LaunchScreen()
         self.app = Desktop()
index f94358dce1531955935f2c77f3c7a21262d60383..191064328c73845d558ba3a79d19a75fede3c189 100755 (executable)
@@ -39,7 +39,7 @@ class Synth(FSynth) :
         console.info('soundfont : %s', sfPath)
     
     def __del__(self) :
         console.info('soundfont : %s', sfPath)
     
     def __del__(self) :
-        console.info('arrêt du synthétiseur.')
+        console.info('arrêt du synthétiseur')
         self.delete()
     
     def adjust_octave(self, chan, octave) :
         self.delete()
     
     def adjust_octave(self, chan, octave) :