From 1c6473aa5c111d888ac8b7f656c4bf21045a8125 Mon Sep 17 00:00:00 2001 From: pin Date: Thu, 28 Feb 2013 10:17:31 +0000 Subject: [PATCH 1/1] Reprise modifs ld git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@409 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/minwii/synth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.20.1