increase maximum of espeak

This commit is contained in:
chrys 2017-11-05 19:03:17 +01:00
parent c691c5b667
commit bbeccdf89e

View File

@ -38,9 +38,9 @@ class driver(speechDriver):
def cancel(self):
if not self._isInitialized:
return False
return
self._es.cancel()
return True
return
def setPitch(self, pitch):
if not self._isInitialized:
@ -50,7 +50,7 @@ class driver(speechDriver):
def setRate(self, rate):
if not self._isInitialized:
return
return self._es.set_parameter(self._es.Parameter().Rate, int(rate * 500 + 100))
return self._es.set_parameter(self._es.Parameter().Rate, int(rate * 899 + 100))
def setVolume(self, volume):
if not self._isInitialized: