diff --git a/config/keyboard/test.conf b/config/keyboard/test.conf index e15d99b7..47355cf0 100644 --- a/config/keyboard/test.conf +++ b/config/keyboard/test.conf @@ -12,15 +12,15 @@ 1-FENRIR,1-KEY_KPDOT=exit_review #=curr_screen #=last_incomming -#1-FENRIR,1-KEY_F2=toggle_braille -#1-FENRIR,1-KEY_F3=toggle_sound +1-FENRIR,1-KEY_F2=toggle_braille +1-FENRIR,1-KEY_F3=toggle_sound 1-FENRIR,1-KEY_F4=toggle_speech #=toggle_output #=toggle_autoRead #=quit_fenrir 1-FENRIR,1-KEY_A=foreward_keypress -1-FENRIR,1-KEY_F2=inc_speech_volume -1-FENRIR,1-KEY_F3=dec_speech_volume +#1-FENRIR,1-KEY_F2=inc_speech_volume +#1-FENRIR,1-KEY_F3=dec_sound_volume #=inc_speech_rate #=dec_speech_rate #=inc_speech_pitch diff --git a/src/fenrir-package/commands/commands/dec_speech_pitch.py b/src/fenrir-package/commands/commands/dec_speech_pitch.py index 72900498..69001a4f 100644 --- a/src/fenrir-package/commands/commands/dec_speech_pitch.py +++ b/src/fenrir-package/commands/commands/dec_speech_pitch.py @@ -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): diff --git a/src/fenrir-package/commands/commands/dec_speech_rate.py b/src/fenrir-package/commands/commands/dec_speech_rate.py index c90fb9b0..893ea5ba 100644 --- a/src/fenrir-package/commands/commands/dec_speech_rate.py +++ b/src/fenrir-package/commands/commands/dec_speech_rate.py @@ -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): diff --git a/src/fenrir-package/commands/commands/dec_speech_volume.py b/src/fenrir-package/commands/commands/dec_speech_volume.py index 27f3155d..adf7ba95 100644 --- a/src/fenrir-package/commands/commands/dec_speech_volume.py +++ b/src/fenrir-package/commands/commands/dec_speech_volume.py @@ -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): diff --git a/src/fenrir-package/commands/commands/inc_speech_pitch.py b/src/fenrir-package/commands/commands/inc_speech_pitch.py index 955fad05..8e0d3c25 100644 --- a/src/fenrir-package/commands/commands/inc_speech_pitch.py +++ b/src/fenrir-package/commands/commands/inc_speech_pitch.py @@ -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): diff --git a/src/fenrir-package/commands/commands/inc_speech_rate.py b/src/fenrir-package/commands/commands/inc_speech_rate.py index 490a713f..9f870821 100644 --- a/src/fenrir-package/commands/commands/inc_speech_rate.py +++ b/src/fenrir-package/commands/commands/inc_speech_rate.py @@ -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): diff --git a/src/fenrir-package/commands/commands/inc_speech_volume.py b/src/fenrir-package/commands/commands/inc_speech_volume.py index 0b4a3706..7dfe778c 100644 --- a/src/fenrir-package/commands/commands/inc_speech_volume.py +++ b/src/fenrir-package/commands/commands/inc_speech_volume.py @@ -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):