# Text-to-Speech Demo - Complete Guide

> Try different text-to-speech voices and engines. Preview AI voices before choosing for your application.

Source: https://edesy.in/docs/tools/voice-ai-tools/text-to-speech-demo

Test and compare different text-to-speech (TTS) voices for your AI voice applications.

## How to Use

### Step 1: Enter Text

- Type or paste your text
- Use SSML for advanced control
- Keep under character limit

### Step 2: Select Voice

- Choose language/locale
- Select voice gender
- Pick voice style (neural/standard)

### Step 3: Generate Audio

- Click play to preview
- Adjust settings as needed
- Download audio file

## Voice Selection Guide

### Voice Types

| Type | Quality | Cost | Use Case |
|------|---------|------|----------|
| Standard | Good | Low | IVR, notifications |
| Neural | Excellent | Medium | Customer-facing |
| Custom | Variable | High | Brand-specific |

### Popular Voices by Language

**English (US)**
- Joanna - Professional female
- Matthew - Warm male
- Ivy - Young female
- Justin - Young male

**English (UK)**
- Amy - British female
- Brian - British male

**Spanish**
- Lucia - Standard Spanish
- Enrique - Standard Spanish male

## SSML Tips

### Basic SSML Tags

```xml
<!-- Add pauses -->
<break time="500ms"/>

<!-- Emphasize words -->
<emphasis level="strong">important</emphasis>

<!-- Change speed -->
<prosody rate="slow">Take your time</prosody>

<!-- Spell out -->
<say-as interpret-as="characters">ABC</say-as>
```

### Advanced SSML

```xml
<!-- Phone numbers -->
<say-as interpret-as="telephone">+1-555-123-4567</say-as>

<!-- Dates -->
<say-as interpret-as="date" format="mdy">12/25/2024</say-as>

<!-- Currency -->
<say-as interpret-as="currency">$99.99</say-as>
```

## Best Practices

### For IVR Systems

- Use clear, neutral voices
- Keep sentences short
- Add appropriate pauses
- Test on phone lines

### For Customer Service

- Choose warm, friendly voices
- Match brand personality
- Consider regional accents
- Ensure naturalness

### For Accessibility

- Moderate speech rate
- Clear pronunciation
- Good audio quality
- Consistent volume

## Quality Checklist

- [ ] Natural pronunciation
- [ ] Appropriate pace
- [ ] Clear enunciation
- [ ] Correct emphasis
- [ ] Natural pauses
- [ ] Good audio quality

## Comparison Factors

### When Choosing a Voice

1. **Naturalness** - Does it sound human?
2. **Clarity** - Is it easy to understand?
3. **Emotion** - Does it convey appropriate tone?
4. **Brand Fit** - Does it match your brand?
5. **Cost** - Within budget?

## Technical Specs

### Audio Formats

| Format | Use Case |
|--------|----------|
| MP3 | Web, general use |
| WAV | High quality, editing |
| OGG | Web streaming |
| PCM | Telephony |

### Sample Rates

- 8kHz - Telephony
- 16kHz - Voice assistants
- 22kHz - Good quality
- 48kHz - High quality

## Related Tools

- [SSML Editor](https://edesy.in/tools/ssml-editor) - Advanced SSML editing
- [Speech-to-Text Demo](https://edesy.in/tools/speech-to-text-demo) - Test speech recognition
- [Voice Latency Tester](https://edesy.in/tools/voice-latency-tester) - Test API latency
