X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/1ccd4f7141e49707ec82ef1fc39904951250d05c..50de70078a398fcefd89b1171cd8d0026d716e61:/src/minwii/synth.py 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')