Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/Resgrid.Config/TtsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class TtsConfig
public static string S3PublicBaseUrl = "";

public static string DefaultVoice = "en-us+klatt4";
public static int DefaultSpeed = 165;
public static int DefaultSpeed = 150;
public static int MaxConcurrentGenerations = 4;
public static int MaxTextLength = 1000;
public static string PiperExecutable = "piper";
Expand Down
12 changes: 9 additions & 3 deletions Tests/Resgrid.Tests/Web/Tts/TtsServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ public void create_piper_start_info_should_use_english_model_for_english_voices(
"--output_file",
"/tmp/raw.wav",
"--length-scale",
"1.06");
"1.06",
"--sentence-silence",
"0.0");
}

[Test]
Expand All @@ -272,7 +274,9 @@ public void create_piper_start_info_should_fallback_to_default_model_for_unmappe
"--output_file",
"/tmp/raw.wav",
"--length-scale",
"1.06");
"1.06",
"--sentence-silence",
"0.0");
}

[Test]
Expand All @@ -290,7 +294,9 @@ public void create_piper_start_info_should_adjust_length_scale_for_speed()
"--output_file",
"/tmp/raw.wav",
"--length-scale",
"0.50");
"0.50",
"--sentence-silence",
"0.0");
}

[Test]
Expand Down
Loading
Loading