- 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 :
FSynth.__init__(self, gain=gain, samplerate=samplerate)
if not sfPath :
+ self.start(driver=driver)
self.fsid = self.sfload(sfPath)
self._octaveAjusts = {}
console.debug('démarrage du synthétiseur')
self.fsid = self.sfload(sfPath)
self._octaveAjusts = {}
console.debug('démarrage du synthétiseur')