From 0c28ed2b30cd6f995f5525f81250bd7d0f713823 Mon Sep 17 00:00:00 2001 From: Jeremy Whiting Date: Fri, 23 May 2025 21:31:45 -0600 Subject: [PATCH] Adjust default values to match orca's defaults. Use Rate of 50, Pitch of 5, and volume of 10. --- src/screenreader.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screenreader.rs b/src/screenreader.rs index 1c0dbfb..1075f7e 100644 --- a/src/screenreader.rs +++ b/src/screenreader.rs @@ -29,9 +29,9 @@ const RATE_SETTING: &str = "rate"; const VOLUME_SETTING: &str = "gain"; const ENABLE_SETTING: &str = "enableSpeech"; -const PITCH_DEFAULT: f64 = 1.0; -const RATE_DEFAULT: f64 = 1.0; -const VOLUME_DEFAULT: f64 = 1.0; +const PITCH_DEFAULT: f64 = 5.0; +const RATE_DEFAULT: f64 = 50.0; +const VOLUME_DEFAULT: f64 = 10.0; lazy_static! { static ref VALID_SETTINGS: HashMap<&'static str, RangeInclusive> = HashMap::from_iter([