X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/1ccd4f7141e49707ec82ef1fc39904951250d05c..fa5bf40bfe796d33480a09d9e6400502552d66f7:/src/minwii/synth.py?ds=inline 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')