The Problem: Voice Selection is a Lottery
Traditional Text-to-Speech (TTS) systems often rely on a "lottery" system for voice selection. Users are presented with a fixed caption and a random seed. By changing the seed, you can generate variations of similar-sounding voices. This is akin to a gacha game – you spin the wheel and hope to land on a voice that fits your needs.
The goal is to find the best voice for specific roles: narrator, counselor, salesperson, presenter, call center agent, and master of ceremonies, for both male and female personas. Initially, this involved listening to multiple clips for each voice. For instance, generating 12 seeds for each gender (24 candidates total), with each voice speaking 5 sentences, results in 120 clips per role. Across 7 roles, this quickly adds up to 3.5 hours of listening per role. As one developer noted, "This is unsustainable."

Defining "Good": Metrics Over Ears
The core challenge is translating subjective listening preferences into objective, measurable criteria. The developer sought to define what makes a voice suitable for a given role. This involved linguistic analysis and identifying key vocal characteristics.
Narrator:
- Pacing: Slow and deliberate.
- Prosody: Calm and measured intonation, with subtle variations.
- Demeanor: Conveys warmth and trustworthiness.
- Delivery: Reads long passages with care and attention to detail.
Counselor:
- Pacing: Slow.
- Tone: Soft and gentle, with moderate sound pressure (volume).
Salesperson:
- Pacing: Energetic and engaging.
- Prosody: Lively and persuasive.
- Demeanor: Confident and approachable.
Presenter:
- Pacing: Clear and dynamic.
- Prosody: Articulate and authoritative.
- Demeanor: Professional and engaging.
Call Center Agent:
- Pacing: Clear and neutral.
- Prosody: Polite and helpful.
- Demeanor: Friendly and professional.
Master of Ceremonies:
- Pacing: Lively and engaging.
- Prosody: Clear and enthusiastic.
- Demeanor: Charismatic and welcoming.
Quantifying Voice Characteristics
To move beyond subjective listening, the developer focused on quantifying these characteristics. This involved analyzing audio features that correlate with perceived qualities like "warmth," "trustworthiness," or "energy."
For example, "slow pacing" can be measured by the average speaking rate (words per minute) or the duration of pauses between words and sentences. "Warmth" and "trustworthiness" might be linked to fundamental frequency (pitch), jitter (frequency variation), shimmer (amplitude variation), and spectral characteristics. "Sound pressure" directly relates to amplitude and loudness measurements.
The process involved iterating through seeds, not for listening, but for data extraction. For each generated voice clip, various audio metrics were computed. These metrics served as the objective criteria for evaluating voice suitability.
Building the Metric-Based Selection System
The core idea is to replace the human ear with a set of quantifiable metrics. Instead of listening to 120 clips per role, the system analyzes audio features for each generated voice.
The workflow looks like this:
- Define the target role and its associated metrics (e.g., Narrator: low pitch, slow rate, moderate prosody variation).
- Generate multiple voice candidates using different seeds for the TTS model.
- For each candidate, extract a predefined set of audio features (e.g., average pitch, speaking rate, pause duration, jitter, shimmer, spectral centroid).
- Score each candidate against the metric profile for the target role.
- Select the top-scoring candidates.
This approach transforms voice selection from an art to a science. It allows for consistent, reproducible results. The "gacha" element is minimized, replaced by a data-driven selection process.
The Surprise: Less Listening, More Insight
The most surprising aspect of this methodology is its efficiency. By focusing on objective metrics, the developer found they could achieve better results with significantly less manual effort. Instead of spending hours listening, the focus shifts to defining robust metrics and analyzing the extracted data. This is not just about saving time; it's about gaining a deeper, more objective understanding of what constitutes an effective voice for a given application. The developer realized that what they *thought* they were listening for was often less precise than the quantifiable data points they could extract.
Future Implications
This metric-driven approach has broader implications for TTS development and content creation. It allows for the creation of specialized voice banks tailored to specific industries or use cases. For developers building AI-powered applications, it means more control and predictability in voice output. For content creators, it promises higher quality, more consistent audio, and a faster workflow. The need to manually sift through countless voice samples may soon be a relic of the past.
