test of inc dec commands
This commit is contained in:
@ -13,7 +13,7 @@ class command():
|
||||
value = 0.0
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'pitch', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech pitch", soundIcon='SpeechOff', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech pitch", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
@ -13,7 +13,7 @@ class command():
|
||||
value = 0.0
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'rate', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech rate", soundIcon='SpeechOff', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech rate", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
@ -13,7 +13,7 @@ class command():
|
||||
value = 0.1
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'volume', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech volume", soundIcon='SpeechOff', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech volume", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
@ -13,7 +13,7 @@ class command():
|
||||
value = 1.0
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'pitch', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech pitch", soundIcon='SpeechOn', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech pitch", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
@ -13,7 +13,7 @@ class command():
|
||||
value = 1.0
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'rate', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech rate", soundIcon='SpeechOn', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech rate", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
@ -13,7 +13,7 @@ class command():
|
||||
value = 1.0
|
||||
environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'volume', str(value))
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech volume", soundIcon='SpeechOn', interrupt=True)
|
||||
environment['runtime']['outputManager'].presentText(environment, str(int(value * 100)) + " percent speech volume", soundIcon='', interrupt=True)
|
||||
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
|
Reference in New Issue
Block a user