Skip to content

Text to speech: add settings window for Piper engine#11502

Merged
niksedk merged 1 commit into
mainfrom
piper-tts-settings-window
Jun 8, 2026
Merged

Text to speech: add settings window for Piper engine#11502
niksedk merged 1 commit into
mainfrom
piper-tts-settings-window

Conversation

@niksedk

@niksedk niksedk commented Jun 8, 2026

Copy link
Copy Markdown
Member

@

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:

  • Header: "Piper" + its description
  • Details: Backend (OS+arch), install Status (red/amber/green dot), Release tag (2023.11.14-2, the pinned rhasspy/piper release), and the install folder path
  • Actions: Download/Update/Re-download (label adapts to install state, reusing the existing StartDownloadPiper flow), Open-folder, and Close

Piper 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

  • New PiperSettings/PiperSettingsViewModel.cs + PiperSettingsWindow.cs (modeled on the Kokoro settings pair)
  • TextToSpeechViewModel.cs: show the gear for Piper and open the new window
  • DependencyInjectionExtensions.cs: register PiperSettingsViewModel
  • LanguageTextToSpeech.cs: add the "Piper settings" window title string

Testing

  • dotnet build src/ui/UI.csproj succeeds (0 errors)

🤖 Generated with Claude Code
@

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>
@niksedk niksedk merged commit 45f235b into main Jun 8, 2026
3 checks passed
@niksedk niksedk deleted the piper-tts-settings-window branch June 8, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant