Welcome to the Text-to-Speech Extravaganza! 🎉 This Python project transforms text into captivating speech with a touch of magic. Choose your linguistic adventure—whether it's a string input or a journey from a .txt file, and behold, the enchanting "Speech.mp3" emerges.
Embark on this auditory odyssey by installing the mystical dependencies with a wave of your terminal wand:
pip install -r requirements.txt-
Run the Main Script:
python Main.py
-
Choose Input Method:
- Option 1: Text Given as String Input
- Option 2: Text Given as .txt File
-
Select Speech Language:
- 1 | English
- 2 | Hindi
- 3 | Kannada
- 4 | Tamil
- 5 | Telugu
- 6 | Malayalam
-
Generate Speech: The resulting audio file, "Speech.mp3," will be dynamically generated and saved in the project directory.
from text_to_speech import TextToSpeech
# Craft your own incantation
text = "Hello, welcome to the Text-to-Speech project!"
language = 1 # Choose your language (e.g., English)
tts = TextToSpeech()
tts.convert_and_save(text, language)- Python 3.x
- Unveil the secrets hidden in
requirements.txtfor additional dependencies.
Embark on this magical journey with us! Contribute your spells through issues or summon a pull request. Your wizardry is highly valued!
-Nil-
- Gratitude to Ms.Anupama for their exceptional wizardry.
For inquiries or magical support, send an owl to Siddartha A Y at siddartha_ay@protonmail.com
