Reference Audio Capture and Quality Control (Clone Resemblance, 80% Depends on This Recording)
Applicable Scenarios
- Use the local microphone to record a reference audio clip for yourself or a client.
- Determine whether an existing recording can be directly used as a reference.
- Investigate why a cloned voice sounds "off" or "airy" by checking the capture process.
1. Before Recording: Three Preparations
-
Microphone Selection:
voiceread.deviceslists local audio input devices. The MacBook built-in mic is usable (this repository's real-device testing confirms: MacBook Air built-in mic +-ar 24000mono meets cloning needs). Prefer an external mic if available (lower noise floor). -
Positioning: Place your mouth 15–25cm from the microphone, with a 15–30° off-axis angle (to avoid plosive blasts hitting the diaphragm directly). Do not cup the mic or place it near a fan or air conditioner vent.
-
Script: Prepare a 8–12 second segment of natural-speed Chinese (approximately 35–55 characters), with complete phrasing covering common syllables:
Hello, I am Xiaozhi, the digital employee of WorkLoom. Today I report three key business points: answer visibility increased by 18%, customer acquisition cost decreased by 12%.
- Read it in one go without uneven pauses.
- Do not force a "broadcast voice" (cloning is meant to replicate everyday tone, not performance).
- Record the verbatim transcript—this is the
ref_text, often more critical than the audio itself.
2. During Recording: Two Disciplines
- Environment: Close the door, turn off fans, mute notification sounds; put your phone on silent. Every 6dB reduction in noise floor significantly improves clone stability.
- Level: Peak should fall between -12 to -6 dBFS (true peak no higher than -3 dBTP). Raising a too-low level later amplifies noise; clipping from too-high level is irreversible.
3. After Recording: Quality Gates (voicewrite.record provides measured values)
| Metric | Threshold | What to Do If Not Met |
|---|---|---|
| Duration | 3–20s (3–15s optimal) | If too short, re-record; if too long, trim to the active speech segment (tool automatically removes leading/trailing silence) |
| Voice Activity Ratio | ≥ 0.35 | Indicates mostly silence: check if the correct mic is selected or gain is too low |
| True Peak | ≤ -0.3 dBTP (after processing ≈ -2 dBTP) | Clipping requires re-recording—clipped waveform cannot be restored |
| Phrasing Completeness | No truncation at start/end | Auto-apply 0.15s padding (tool does this by default) |
4. Transcription Discipline (ref_text)
- The transcription must be verbatim matching the reference audio, including number readings (e.g., "18%" → "eighteen percent", or in Chinese context "百分之十八").
- When automatic transcription (ASR) is available, use it first, but manually review it: Chinese numerals, English abbreviations, and proper nouns are common ASR error points.
- When ASR is unavailable, explicitly provide a word-for-word transcript—do not guess (
ref_text_requiredis a hard error, not degraded).
Why such rigor: Zero-shot cloning works by jointly using the reference audio and its text to define the pronunciation space. Even one mistranscribed character causes the model to learn that wrong sound or cut off early.
5. Common Failures and Handling
| Symptom | Root Cause | Handling |
|---|---|---|
| Clone sounds "airy, breathy" | Reference recording has high noise floor / level too low | Re-record in a quieter environment, raise level to -12~-6 dBFS |
| Clone "doesn't sound like me" | Reference uses broadcast voice or strong emotion | Re-record the same script with a natural speaking tone |
| Synthesized sentence tail truncated | Reference audio has long silence at end / transcription omits tail content | Trim tail silence; ensure transcription aligns exactly with audio |
| Chinese numerals misread | Transcription used Arabic digits | Write numerals in their spoken form in the verbatim transcript |
| Cross-language voice drift | Reference language is too different from output language | Choose a multilingual engine (e.g., one supporting 646+ languages), or supplement with a target-language reference archive |
Output Contract
The capture stage must provide: device name, duration, voice activity ratio, true peak, verbatim transcript, quality gate verdict (ok / specific non-compliant items), and a clear judgment on "whether re-recording is needed."