Text to speech: add settings window for Piper engine#11502
Merged
Conversation
Adds a settings gear button + window for the Piper engine in the Text to speech window, matching Kokoro TTS and the other install-based engines. The window shows backend (OS+arch), install status, the pinned release tag, and install folder, plus Download/Update/Re-download, Open-folder, and Close actions reusing the existing Piper download flow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@
Summary
Adds a settings gear button + settings window for the Piper engine in the Text to speech window, matching what Kokoro TTS and the other install-based engines already have.
When Piper is selected, the gear button now appears next to the engine combo and opens a
PiperSettingsWindow. The window mirrors the Kokoro settings dialog:2023.11.14-2, the pinned rhasspy/piper release), and the install folder pathStartDownloadPiperflow), Open-folder, and ClosePiper was a natural fit because, like Kokoro, it is an install-based engine with an executable, install folder, download flow, and
GetEngineUpdateStatus()already in place — so the window reuses all of that. Piper has no tunable runtime parameters today, so this window is install/status management only (consistent with the Kokoro window).Changes
PiperSettings/PiperSettingsViewModel.cs+PiperSettingsWindow.cs(modeled on the Kokoro settings pair)TextToSpeechViewModel.cs: show the gear for Piper and open the new windowDependencyInjectionExtensions.cs: registerPiperSettingsViewModelLanguageTextToSpeech.cs: add the "Piper settings" window title stringTesting
dotnet build src/ui/UI.csprojsucceeds (0 errors)🤖 Generated with Claude Code
@