projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Utilisation de la kinect sur une plage de distance plus réduite.
[minwii.git]
/
src
/
minwii
/
synth.py
diff --git
a/src/minwii/synth.py
b/src/minwii/synth.py
index
6d0034f
..
f89dcc9
100755
(executable)
--- a/
src/minwii/synth.py
+++ b/
src/minwii/synth.py
@@
-21,7
+21,7
@@
class Synth(FSynth) :
- octaviation
"""
- 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 :
FSynth.__init__(self, gain=gain, samplerate=samplerate)
if not sfPath :
@@
-30,7
+30,7
@@
class Synth(FSynth) :
self._gain = gain
self._gain = gain
- self.start()
+ 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')