# 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 ```bash 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 ```bash 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: 1. **Beginners**: Google TTS (`ai_chat_gtts.py`) 2. **Geavanceerd**: Edge-TTS (`ai_chat.py`) 3. **Experimenteel**: Chatterbox/Coqui (alleen als je Python 3.9-3.11 hebt) ## 🚀 Quick Start ### Google TTS (Aanbevolen) ```bash pip install -r requirements_gtts.txt python ai_chat_gtts.py ``` ### Edge-TTS (Geavanceerd) ```bash 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