Adjust default values to match orca's defaults.

Use Rate of 50, Pitch of 5, and volume of 10.
This commit is contained in:
Jeremy Whiting 2025-05-23 21:31:45 -06:00 committed by Jeremy Whiting
parent 7d838ae6f6
commit 0c28ed2b30

View file

@ -29,9 +29,9 @@ const RATE_SETTING: &str = "rate";
const VOLUME_SETTING: &str = "gain"; const VOLUME_SETTING: &str = "gain";
const ENABLE_SETTING: &str = "enableSpeech"; const ENABLE_SETTING: &str = "enableSpeech";
const PITCH_DEFAULT: f64 = 1.0; const PITCH_DEFAULT: f64 = 5.0;
const RATE_DEFAULT: f64 = 1.0; const RATE_DEFAULT: f64 = 50.0;
const VOLUME_DEFAULT: f64 = 1.0; const VOLUME_DEFAULT: f64 = 10.0;
lazy_static! { lazy_static! {
static ref VALID_SETTINGS: HashMap<&'static str, RangeInclusive<f64>> = HashMap::from_iter([ static ref VALID_SETTINGS: HashMap<&'static str, RangeInclusive<f64>> = HashMap::from_iter([