From: pin Date: Thu, 28 Feb 2013 10:17:31 +0000 (+0000) Subject: Reprise modifs ld X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/commitdiff_plain/1c6473aa5c111d888ac8b7f656c4bf21045a8125?ds=sidebyside Reprise modifs ld git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@409 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/minwii/synth.py b/src/minwii/synth.py index 6d0034f..f89dcc9 100755 --- a/src/minwii/synth.py +++ b/src/minwii/synth.py @@ -21,7 +21,7 @@ class Synth(FSynth) : - octaviation """ - def __init__(self, gain=0.2, samplerate=44100, sfPath='') : + def __init__(self, gain=0.2, samplerate=44100, sfPath='', driver=None) : FSynth.__init__(self, gain=gain, samplerate=samplerate) if not sfPath : @@ -30,7 +30,7 @@ class Synth(FSynth) : self._gain = gain - self.start() + self.start(driver=driver) self.fsid = self.sfload(sfPath) self._octaveAjusts = {} console.debug('démarrage du synthétiseur')