test of inc dec commands

This commit is contained in:
chrys
2016-08-21 19:52:22 +02:00
parent 11a770f0ff
commit fbe33d609e
7 changed files with 10 additions and 10 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):