try :
del self.registry[eventType][listener]
except KeyError :
- console.warn("no listener to remove")
+ console.debug("no listener to remove")
def dispatchEvents(self) :
events = pygame.event.get()
import logging
import os
import datetime
-LOG_FORMAT_VERSION='1.0-alpha'
+LOG_FORMAT_VERSION='1.0'
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
from musicxml import musicXml2Song
import pygame
-SUPPORTED_FILE_HEADER = 'ENV winwii log format version : 1.0-alpha'
+SUPPORTED_FILE_HEADER = 'ENV winwii log format version : 1.0'
class LogFileReader(object) :
from pywiiuse import pygame_wiimouse
pygame_wiimouse.init(4, 5, self.screenResolution) # look for 4, wait 5 seconds
self.nwiimotes = nwiimotes = pygame_wiimouse.get_count()
- console.debug('%d wiimotes found', nwiimotes)
+ console.debug('wiimotes found : %d', nwiimotes)
self.WT = WT = pygame_wiimouse.WT
WT.pause()
else :
#logging
if home.exitApp :
- console.info("sortie de l'application")
+ console.debug("sortie de l'application")
else :
actual_wiimotes = self.WT.get_count()
if self.firstSong :
self.start()
self.fsid = self.sfload(sfPath)
self._octaveAjusts = {}
- console.info('démarrage du synthétiseur')
+ console.debug('démarrage du synthétiseur')
envLogger.info('soundfont : %s', sfPath)
def __del__(self) :
- console.info('arrêt du synthétiseur')
+ console.debug('arrêt du synthétiseur')
self.delete()
def adjust_octave(self, chan, octave) :