Generating Speech from Descriptions: Custom Text-to-Speech in Practice
Voice output is moving from fixed preset catalogs to controllable generation driven by natural-language descriptions. This article explains that shift, how style prompts map to acoustic features, and the product, engineering, and compliance choices required to ship description-based custom voices.
1. From Picking Presets to Generating from Descriptions
For a long time, most apps and assistants have relied on preset voices. Vendors train a small set of fixed styles, and users audition them and pick the least imperfect option. The limits are obvious: few voices, narrow style coverage, and a long trial-and-error loop that still ends in a compromise. When voice is the main interface, the sound is part of the product’s personality. A single shared voice weakens differentiation.
Recent reporting found unused client-code signals in a mainstream assistant suggesting a future “create voice” entry. Users might describe the voice they want in natural language—for example, “warm, low, slow, cheerful but not overly enthusiastic.” If they have no clear idea, a “surprise me” random generation path could serve as a fallback.
That points to a broader change in text-to-speech: a voice is no longer only a finished asset pulled from a catalog. It can be a generated asset driven by parameters and descriptions. The technical basis is controllable TTS. Commercial models already let developers use text prompts to create new voices across many languages and dialects, and “voice remix” features can adjust pitch, accent, speaking rate, and related style traits of an existing voice. The rest of this article treats that general capability as the background for a practical design.
2. How a Prompt Maps to Acoustic Features
Generating intelligible speech from a description means turning style words into control signals an acoustic model can execute. A typical pipeline has four stages:
- Description parsing. Break the user input into structured style tags. Common dimensions include warmth, pitch (low or bright), speaking rate, accent region, and emotional brightness.
- Style embedding. Encode those tags as a style vector and pass it into the acoustic model with the text. It influences the fundamental-frequency contour, formant distribution, pauses, and intonation.
- Waveform synthesis. The acoustic model produces an intermediate representation that matches the target style. A vocoder turns that representation into a continuous waveform.
- Check and iterate. Automatically assess intelligibility and style consistency, and send the result back for another adjustment when needed.
The call flow below is illustrative pseudocode, not a vendor API:
# Illustrative code, not a specific vendor APIstyle_desc = "warm, low, relatively slow, cheerful but not exaggerated"voice = tts.create_voice(description=style_desc, # natural-language style descriptionlanguages=["zh", "en"], # target language rangeseed=None # None lets the system pick a random plan)audio = tts.synthesize(voice=voice,text="Hello, welcome back. Let's continue where we left off.",speed=0.9, # fine-tune speaking rate afterwardoutput_format="mp3")
Voice remix and generation from scratch are complementary. Remix starts from an existing voice and changes style locally, which is cheaper and more stable. Generation from scratch is freer, but it depends more on the quality of the description.
3. Product and Interface Design
Shipping “generate a voice from a description” requires product and engineering to solve a few problems together.
1. Input guidance and fallbacks
Description quality varies widely. A practical design should offer style dimensions—timbre, rate, accent, perceived age, emotion—so users are not forced to write a free-form prompt. When they have no idea, offer a random combination and allow edits against the previous version, such as “a little slower.” An unconstrained text box alone raises the cost of trial and error.
2. Version management of generated voices
Each generated voice should be stored as a named asset that can be renamed, deleted, or set as the default. That is a lightweight voice-configuration store on the client. An illustrative local record:
{"voice_id": "v_88231","name": "Warm narrator","source": "description","description": "warm, low, slow, cheerful","created_at": "2024-01-01T10:00:00Z","is_default": true}
3. Cost and latency
Inference for description-based generation is usually more expensive than calling a preset voice. Show a clear loading state instead of a silent wait. Do not regenerate when the same description hits a cache. On failure, fall back to the preset list so speech output remains available.
4. Typical Use Cases
- Accessibility and personalization. Preferences for rate and clarity vary widely, including among users with visual impairments. Description-based generation can match those habits more closely.
- Content creation. Audiobooks, podcasts, and short-video narration can use voices fitted to a character, instead of relying only on costly live casting.
- Assistant personality. The assistant’s voice can stay aligned with brand tone and become an operable brand asset.
- Multilingual localization. One voice setting can be reused across many languages and dialects so a global product sounds consistent.
5. Compliance and Risk
Speech synthesis has clear boundaries. Cloning or imitating a real person’s voice requires explicit authorization, plus watermarking or traceability marks. The app should tell users that the voice is synthetic. Generated results should be checked for content and emotional tendency so the system does not produce discriminatory or inflammatory speech. These requirements are becoming a widely accepted baseline for shipping the feature.
6. Conclusion
Preset catalogs are giving way to “describe it and generate it.” The opportunity for developers is not to chase one vendor’s unreleased feature. It is to understand the controllable-TTS frame—description parsing, style generation, result management, and compliance—and to build that frame into voice interaction. Teams that make custom voices cheap to try, easy to revise, and straightforward to manage will be better placed for the next stage of voice competition.
