Bundled/custom voice picker with preview.
Source: web/frontend/src/components/VoiceSettings.tsx
{
config: HighlightConfig | AudioConfig
onChange: (config: Partial<HighlightConfig>) => void
uploadedFileId?: string | null
}
uploadedFileId so the preview endpoint can use a snippet from the user’s document when supported| State | Type | Description |
|---|---|---|
voices |
BundledVoice[] |
Available voices |
languages |
LanguageOption[] |
Available languages |
loadError |
string \| null |
Voice/language loading error |
voiceSource |
"bundled" \| "upload" |
Selected source |
uploadedRefName |
string \| null |
Uploaded custom voice filename |
previewLoading |
boolean |
Preview generation in progress |
previewError |
string \| null |
Preview error |
previewUrl |
string \| null |
Blob URL for preview audio |
highlight