diff --git a/src/fenrir-package/commands/commands/dec_sound_volume.py b/src/fenrir-package/commands/commands/dec_sound_volume.py index 8fdd3ccd..d713c28f 100644 --- a/src/fenrir-package/commands/commands/dec_sound_volume.py +++ b/src/fenrir-package/commands/commands/dec_sound_volume.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'sound', 'volume') - value = round((math.ceil(20 * value) / 20) - 0.1, 2) + value = round((math.ceil(10 * value) / 10) - 0.1, 2) if value < 0.1: value = 0.1 environment = environment['runtime']['settingsManager'].setSetting(environment, 'sound', 'volume', str(value)) diff --git a/src/fenrir-package/commands/commands/dec_speech_pitch.py b/src/fenrir-package/commands/commands/dec_speech_pitch.py index 4f94a559..72900498 100644 --- a/src/fenrir-package/commands/commands/dec_speech_pitch.py +++ b/src/fenrir-package/commands/commands/dec_speech_pitch.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'pitch') - value = round((math.ceil(20 * value) / 20) - 0.1, 2) + value = round((math.ceil(10 * value) / 10) - 0.1, 2) if value < 0.0: value = 0.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'pitch', str(value)) diff --git a/src/fenrir-package/commands/commands/dec_speech_rate.py b/src/fenrir-package/commands/commands/dec_speech_rate.py index 13e8209d..c90fb9b0 100644 --- a/src/fenrir-package/commands/commands/dec_speech_rate.py +++ b/src/fenrir-package/commands/commands/dec_speech_rate.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'rate') - value = round((math.ceil(20 * value) / 20) - 0.1, 2) + value = round((math.ceil(10 * value) / 10) - 0.1, 2) if value < 0.0: value = 0.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'rate', str(value)) diff --git a/src/fenrir-package/commands/commands/dec_speech_volume.py b/src/fenrir-package/commands/commands/dec_speech_volume.py index 9a821429..27f3155d 100644 --- a/src/fenrir-package/commands/commands/dec_speech_volume.py +++ b/src/fenrir-package/commands/commands/dec_speech_volume.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'volume') - value = round((math.ceil(20 * value) / 20) - 0.1, 2) + value = round((math.ceil(10 * value) / 10) - 0.1, 2) if value < 0.1: value = 0.1 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'volume', str(value)) diff --git a/src/fenrir-package/commands/commands/inc_sound_volume.py b/src/fenrir-package/commands/commands/inc_sound_volume.py index fde72449..a74c7eb2 100644 --- a/src/fenrir-package/commands/commands/inc_sound_volume.py +++ b/src/fenrir-package/commands/commands/inc_sound_volume.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'sound', 'volume') - value = round((math.ceil(20 * value) / 20) + 0.1, 2) + value = round((math.ceil(10 * value) / 10) + 0.1, 2) if value > 1.0: value = 1.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'sound', 'volume', str(value)) diff --git a/src/fenrir-package/commands/commands/inc_speech_pitch.py b/src/fenrir-package/commands/commands/inc_speech_pitch.py index 786ca551..955fad05 100644 --- a/src/fenrir-package/commands/commands/inc_speech_pitch.py +++ b/src/fenrir-package/commands/commands/inc_speech_pitch.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'pitch') - value = round((math.ceil(20 * value) / 20) + 0.1, 2) + value = round((math.ceil(10 * value) / 10) + 0.1, 2) if value > 1.0: value = 1.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'pitch', str(value)) diff --git a/src/fenrir-package/commands/commands/inc_speech_rate.py b/src/fenrir-package/commands/commands/inc_speech_rate.py index 939b352c..490a713f 100644 --- a/src/fenrir-package/commands/commands/inc_speech_rate.py +++ b/src/fenrir-package/commands/commands/inc_speech_rate.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'rate') - value = round((math.ceil(20 * value) / 20) + 0.1, 2) + value = round((math.ceil(10 * value) / 10) + 0.1, 2) if value > 1.0: value = 1.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'rate', str(value)) diff --git a/src/fenrir-package/commands/commands/inc_speech_volume.py b/src/fenrir-package/commands/commands/inc_speech_volume.py index b68cf2e0..0b4a3706 100644 --- a/src/fenrir-package/commands/commands/inc_speech_volume.py +++ b/src/fenrir-package/commands/commands/inc_speech_volume.py @@ -8,7 +8,7 @@ class command(): value = environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'speech', 'volume') - value = round((math.ceil(20 * value) / 20) + 0.1, 2) + value = round((math.ceil(10 * value) / 10) + 0.1, 2) if value > 1.0: value = 1.0 environment = environment['runtime']['settingsManager'].setSetting(environment, 'speech', 'volume', str(value))