# Amharic Text-to-Speech (TTS) Application
A simple web-based Text-to-Speech application focused on Amharic language support, powered by Microsoft Edge TTS.
- 🗣️ Native Amharic voice support (Male & Female).
- 🌍 Web interface with Amharic localization.
- ⚡ Real-time speech synthesis.
- 🎧 Direct audio playback in browser.
- 🛠️ Error handling with Amharic/English messages.
- ⏱️ 30-second timeout protection.
Name | Gender | Voice ID |
---|---|---|
Ameha | Male | am-ET-AmehaNeural |
Mekdes | Female | am-ET-MekdesNeural |
- Python 3.8+
- pip package manager
- Clone repository:
git clone https://github.com/snackshell/amharic-tts.git
cd amharic-tts
- Create virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
- Install dependencies:
pip install -r requirements.txt
- Start the application:
python app.py
- Access the interface at:
http://localhost:7860
-
Enter Amharic text and select a voice:
- Type/paste text in the input box
- Choose between Ameha (Male) or Mekdes (Female)
- Click "ድምፅ ፍጠር" (Generate Audio)
-
Play generated audio using the built-in player
graph TD
A[User Interface] --> B(Gradio Frontend)
B --> C[Edge TTS Service]
C --> D[Microsoft Cognitive Services]
- Python 3.10+
- Gradio (Web Interface)
- edge-tts (TTS Engine)
- asyncio (Async Operations)
- tempfile (Audio File Handling)
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature
) - Commit changes (
git commit -m 'Add some feature'
) - Push to branch (
git push origin feature/your-feature
) - Open a Pull Request
This project is licensed under the MIT License - see LICENSE file for details.
- Microsoft Edge TTS services
- Gradio team for the web interface framework
- Bana Codes community for Amharic language support