AI Chat met verschillende TTS opties
Een complete AI chat applicatie met spraakherkenning en verschillende Text-to-Speech opties.
π― Aanbevolen: Google TTS
Bestand: ai_chat_gtts.py
README: README_gtts.md
Requirements: requirements_gtts.txt
β Voordelen:
- Eenvoudig te installeren
- Stabiel met alle Python versies
- Goede Nederlandse stem
- Geen complexe dependencies
pip install -r requirements_gtts.txt
python ai_chat_gtts.py
π Geavanceerd: Edge-TTS
Bestand: ai_chat.py
README: README.md (origineel)
Requirements: requirements.txt
β Voordelen:
- Hoge kwaliteit stemmen
- Emotie controle
- Microsoft's Edge TTS service
- Real-time streaming
pip install -r requirements.txt
python ai_chat.py
π¬ Experimenteel: Chatterbox TTS
Bestand: ai_chat_chatterbox.py
Requirements: requirements_chatterbox.txt
β οΈ Problemen:
- Niet compatibel met Python 3.13
- Complexe installatie
- Vereist GPU voor optimale prestaties
π¬ Experimenteel: Coqui TTS
Bestand: ai_chat_coqui.py
Requirements: requirements_coqui.txt
β οΈ Problemen:
- Niet compatibel met Python 3.13
- Vereist Python 3.9-3.11
- Complexe installatie
π Vergelijking
| TTS Library | Installatie | Stabiliteit | Nederlandse stem | Emoties | Offline |
|---|---|---|---|---|---|
| Google TTS | β Eenvoudig | β Zeer stabiel | β Goed | β | β |
| Edge-TTS | β Eenvoudig | β Stabiel | β Zeer goed | β | β |
| Chatterbox | β Complex | β Problematisch | β Zeer goed | β | β |
| Coqui | β Complex | β Problematisch | β Goed | β | β |
π― Aanbeveling
Voor de beste gebruikerservaring raden we aan:
- Beginners: Google TTS (
ai_chat_gtts.py) - Geavanceerd: Edge-TTS (
ai_chat.py) - Experimenteel: Chatterbox/Coqui (alleen als je Python 3.9-3.11 hebt)
π Quick Start
Google TTS (Aanbevolen)
pip install -r requirements_gtts.txt
python ai_chat_gtts.py
Edge-TTS (Geavanceerd)
pip install -r requirements.txt
python ai_chat.py
π Bestanden overzicht
edge-TTS/
βββ ai_chat.py # Edge-TTS versie (origineel)
βββ ai_chat_gtts.py # Google TTS versie (aanbevolen)
βββ ai_chat_chatterbox.py # Chatterbox TTS versie
βββ ai_chat_coqui.py # Coqui TTS versie
βββ requirements.txt # Edge-TTS dependencies
βββ requirements_gtts.txt # Google TTS dependencies
βββ requirements_chatterbox.txt # Chatterbox dependencies
βββ requirements_coqui.txt # Coqui dependencies
βββ README.md # Dit bestand
βββ README_gtts.md # Google TTS documentatie
βββ README_chatterbox.md # Chatterbox documentatie
π€ Features
Alle versies ondersteunen:
- π€ Nederlandse spraakherkenning
- π€ Ollama AI integratie
- π Real-time audio zonder opslag
- π Emotie controle (Edge-TTS)
- π Langzame spraak voor "AI denkt na"
- π Nederlandse stemmen