Add user-guided intonation/prosody reference using audio examples
I'd like to suggest a feature that could significantly improve the naturalness of generated speech. It would be useful if Voicebox supported an optional intonation/prosody guide, where the user could provide a short reference audio demonstrating how a sentence or phrase should be spoken. The model would then extract the rhythm, emphasis, pacing, and intonation from the reference audio while preserving the selected voice's identity, accent, and timbre. In other words, the reference audio would act only as a guide for how the sentence should be spoken—not who is speaking it. This could help with: More natural emotional delivery. Correct emphasis on specific words. Better pacing and pauses. More accurate pronunciation of unusual names or phrases when context alone isn't enough. Replicating a specific speaking style without changing the underlying voice. A possible workflow could be: Select a TTS voice as usual. Enter the text. Optionally upload a short audio clip of yourself (or another reference) reading that same sentence. Generate speech that follows the reference prosody while retaining the chosen voice and accent. Since Voicebox already supports multiple TTS backends, this could be implemented as an optional feature for models that are capable of prosody or style transfer, while gracefully falling back to normal TTS for models that aren't. I think this would make Voicebox especially useful for creators, dubbing, storytelling, and anyone who wants finer control over speech expressiveness without having to train a custom voice.
Looked into whether this is buildable today. Short answer: the plumbing isn't the blocker, engine capability is — worth saying plainly rather than leaving it open-ended.
Prosody transfer needs an engine that accepts a style reference separate from the speaker reference. None of the eight bundled engines expose that. Qwen CustomVoice takes instruct, which is a text description rather than audio; base Qwen3-TTS accepts instruct and ignores it entirely (backends/__init__.py:249 — "Base model drops instruct silently"). So there's nowhere to send a prosody clip even if the UI collected one.
That puts this in a different tractability class from the neighbouring requests — it's blocked on an upstream model, not on Voicebox.
Two things from the same family that are reachable, in case they cover part of what you're after:
- Pronunciation — your fourth bullet, "accurate pronunciation of unusual names or phrases", doesn't actually need prosody transfer. #827 covers it directly and is implemented in #1025.
- Pacing and pauses — your third bullet is mostly assembly, not synthesis. Inserting silence between segments needs no model support at all; I measured this while prototyping and a pause is pure concatenation. #55 tracks inline pause markup.
What's left after those two is genuine style transfer — emphasis, emotional delivery, replicating a speaking style — and that stays blocked until an engine ships the capability. Worth keeping open as a tracking issue for when one does; ModelConfig already has the shape for a capability flag (#1023 makes those flags real), so wiring it up would be small once a model supports it.
One measurement that may be useful to whoever picks this up: every Qwen generation carries ~340ms of leading silence and ~100ms trailing, so any prosody work that assembles from segments needs edge-trimming or it accumulates dead air — about +0.7s on a three-segment sentence.