Update espeak.py
This commit is contained in:
parent
8aa22fcafd
commit
f02ba7910e
@ -62,7 +62,7 @@ class driver():
|
|||||||
def setRate(self, rate):
|
def setRate(self, rate):
|
||||||
if not self._isInitialized:
|
if not self._isInitialized:
|
||||||
return False
|
return False
|
||||||
return self._es.set_parameter(self._es.Parameter().Rate, int(rate*450 + 80))
|
return self._es.set_parameter(self._es.Parameter().Rate, int(rate * 500 + 100))
|
||||||
|
|
||||||
def setModule(self, module):
|
def setModule(self, module):
|
||||||
if not self._isInitialized:
|
if not self._isInitialized:
|
||||||
|
Loading…
Reference in New Issue
Block a user