X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/dc8216d3cd94fe2a5d89c6e8a4fae5de2f25bc9b..899a6365838f7a7c1427676277ef72c934c1d1bb:/src/app/synth.py diff --git a/src/app/synth.py b/src/app/synth.py index 71fa126..eb19235 100755 --- a/src/app/synth.py +++ b/src/app/synth.py @@ -7,7 +7,7 @@ $URL$ """ from os.path import realpath, sep, exists from fluidsynth import Synth as FSynth -from log import console +from log import console, envLogger import pygame import events @@ -35,10 +35,11 @@ class Synth(FSynth) : self.start() self.fsid = self.sfload(sfPath) self._octaveAjusts = {} - console.info('démarrage du synthétiseur\nsoundfont : %s', sfPath) + console.info('démarrage du synthétiseur') + envLogger.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) :