- Functionality Converts Text to Speech
- Tech Stack:
Python
,gTTS
,mpyg321
- Author: @shreyamalogi
- Year of Project: 2020
- Introduction
- How to Make It Work
- Extra Tricks (Optional)
- Challenges and Solutions
- Contribution
- License
- Support
Hey, wizards-in-training! π @shreyamalogi here, and I'm super excited to tell you about this cool project I brewed up: the Text-to-Speech (TTS) Enchantment! Imagine you type something on your computer, and poof! Your computer reads it out loud in a magical voice. That's exactly what this project does. It's like turning your written words into a magical podcast.
-
You'll need a special language called Python on your computer. If you don't have it, ask a more experienced wizard to help you install it.
-
Also, make sure to have the magical ingredient called gTTS. You can add it with a magic spell:
pip install gTTS
-
Find a cozy spot on your computer where you can brew your spells.
-
Open the command wand (you know, the terminal).
-
Type the following spell to make it work:
python tts.py
Your computer will ask you to type something. Go ahead, type anything you want to hear magically!
After typing, you'll find a new magical file named "SpeechOutput.mp3" in the same spot where you cast your spell. Click on it, and voila! Your computer is talking! πΆπ
If you want to make your computer sing the magic words directly from your spellbook (Python script), there's an extra spell called mpyg321. To add this spell, just say:
pip install mpyg321
-
Challenge: Adding smooth transitions to the generated audio.
-
Solution: Implemented mpyg321 for a seamless and enchanting listening experience.
Feel the magic within you? Contribute and shape the spellbook as you desire.
This project dances under the spell of the MIT License.
MIT License
Copyright (c) 2020 Shreya Malogi
Show your magical support by starring this project on GitHub!