Skip to content

Add built-in TTS voice selector#535

Open
LooThao wants to merge 2 commits into
THU-MAIC:mainfrom
LooThao:codex/add-tts-voice-selector
Open

Add built-in TTS voice selector#535
LooThao wants to merge 2 commits into
THU-MAIC:mainfrom
LooThao:codex/add-tts-voice-selector

Conversation

@LooThao
Copy link
Copy Markdown
Contributor

@LooThao LooThao commented May 8, 2026

Summary

Add a voice selector UI for built-in TTS providers so users can choose provider voices directly from the TTS settings panel.

Details

  • Render a voice dropdown for built-in TTS providers that define voices
  • Keep custom TTS and VoxCPM voice management on their existing flows
  • Use the selected provider's default voice when previewing a non-active provider
  • Switch the active TTS provider when selecting a voice from a different provider tab, so the selected voice is applied consistently

Test

pnpm exec prettier components/settings/tts-settings.tsx components/settings/tts-settings-original.tsx components/settings/tts-voice-selector.tsx --check
pnpm exec eslint components/settings/tts-settings.tsx components/settings/tts-settings-original.tsx components/settings/tts-voice-selector.tsx

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3fdb9e6b66

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread components/settings/tts-voice-selector.tsx
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