summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
baf4f2f)
try :
del self.registry[eventType][listener]
except KeyError :
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()
def dispatchEvents(self) :
events = pygame.event.get()
import logging
import os
import datetime
import logging
import os
import datetime
-LOG_FORMAT_VERSION='1.0-alpha'
+LOG_FORMAT_VERSION='1.0'
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
hiddenEvents = {pygame.MOUSEMOTION:True,
pygame.MOUSEBUTTONDOWN:True,
from musicxml import musicXml2Song
import pygame
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) :
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()
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 :
self.WT = WT = pygame_wiimouse.WT
WT.pause()
else :
#logging
if home.exitApp :
#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 :
else :
actual_wiimotes = self.WT.get_count()
if self.firstSong :
self.start()
self.fsid = self.sfload(sfPath)
self._octaveAjusts = {}
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) :
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) :
self.delete()
def adjust_octave(self, chan, octave) :