# Reference Audio for Voice Cloning

Place a 5-10 second clear audio sample here for voice cloning.

## Requirements

| Aspect | Requirement |
|--------|-------------|
| **Duration** | 5-10 seconds (optimal), min 3 seconds |
| **Format** | WAV (preferred), MP3, FLAC |
| **Quality** | Clear speech, minimal background noise |
| **Content** | Normal speaking voice, natural pace |
| **Speakers** | Single speaker only |

## Default File

Name your file `reference.wav` - this is the default expected by the pipeline.

Or update the path in `pipeline_config.yaml`:
```yaml
tts:
  ref_audio_path: "./reference_audio/your_file.wav"
  ref_audio_text: "What the audio says (optional)"
  ref_audio_lang: "en"
```

## Recording Tips

1. **Environment**: Record in a quiet room
2. **Microphone**: Use a decent microphone, not laptop built-in if possible
3. **Distance**: 6-12 inches from mic
4. **Content**: Read a few sentences naturally
5. **Avoid**: Music, sound effects, multiple speakers

## Example Prompt to Record

Read this naturally for a good reference sample:

> "Hello, this is a sample recording for voice cloning. I'm speaking at my normal pace and volume. The weather today is quite pleasant, and I hope you're having a good day."

## Troubleshooting

- **Robotic output?** Try a longer reference (10+ seconds)
- **Wrong accent?** Match reference language to output language
- **Background noise?** Re-record in quieter environment
