A modern web application that converts Bangla text into natural-sounding speech using Microsoft Edge's Text-to-Speech engine.
- 🔊 High-quality Bangla text-to-speech conversion
- 👥 Multiple voice options (Male/Female)
- 🎛️ Playback controls (Play, Pause, Speed, Volume)
- 🔄 Loop functionality
- 💾 Download audio as MP3
- 📋 Copy text functionality
- 🌓 Dark/Light mode
- 📱 Responsive design
- ⚡ Real-time processing
Try the live application here: Bangla TTS
-
Frontend:
- HTML5
- CSS3 (Tailwind CSS)
- JavaScript
- Material Icons
-
Backend:
- Python
- Flask
- Edge-TTS
- Clone the repository:
git clone https://github.com/yourusername/bangla-tts.git
cd bangla-tts
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
- Open
http://localhost:5000
in your browser
The application is deployed on Render. To deploy your own instance:
- Fork this repository
- Create a new Web Service on Render
- Connect your GitHub repository
- Use the following settings:
- Build Command:
pip install -r requirements.txt
- Start Command:
gunicorn app:app
- Build Command:
- Enter or paste Bangla text in the input area
- Select your preferred voice (Nabanita/Pradeep)
- Click "Generate Speech" to convert text to speech
- Use the audio player controls to:
- Play/Pause audio
- Adjust volume
- Change playback speed
- Toggle loop mode
- Download the audio file
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Mamun Abdullah - GitHub Profile
- Microsoft Edge TTS for providing the text-to-speech engine
- Tailwind CSS for the beautiful UI components
- Material Icons for the icon set
Made with ❤️ for the Bangla community