[Python] How to convert text to speech? | Get male and female voice🎶 | Adjust speed and volume🎤
HTML-код
- Опубликовано: 14 янв 2021
- With the help of gTTS (Google Text to speech) and pyttsx3, we can easily convert our text to speech.
To download gTTS:
pip install gTTS
To download pyttsx3:
pip install pyttsx3
We can generate male voice and also female voice with pyttsx3. Also, we can adjust speed or volume of sound in pyttsx3.
gTTS is very simple to use. It generates female voice. To generate male voice using gTTS, we have to download separate male voice file but we have pyttsx3 to generate male voice easily.
To generate female voice from pyttsx3, we need voice_id:
voice_id = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_ZIRA_11.0"
➥Blog: igtechteam.wordpress.com/
➥Facebook page: / ishwargautam239
➥Instagram page: / ishwar_gautam1
➥LinkedIn: / ishwargautam1
Searching for more videos? Then here is the link:
🢡Complete Natural Language Processing Playlist:
• Natural Language Proce...
🢡To learn about deep learning:
• Deep Learning
🢡To learn about Machine learning and data science tutorial:
• (Tutorial) Machine lea...
🢡To learn about project of Machine learning and data science:
• (Project) Machine lear...
🢡To learn about python full course:
• Python tutorial with f...
🢡To learn about java full course:
• Java tutorial
🢡Project discussion: What project can we make from python, PHP, java, C/C++:
• Wifi related
🢡Learn in just one video (coding like C,C++,Java, PHP, python and many more)
• Learn in one video
➤visit my channel to find more videos:
/ igtechteam
#gTTS
#pyttsx3
#Text_to_speech
.
यस च्यानलमा अप्लोड भएका video हरु र अन्य code वा file हरु download गरी अन्य च्यानलमा अप्लोड भएको पाइएमा कडा भन्दा कडा कारबाही गरिनेछ।
To upload my videos to another channel or misuse my files or codes is strictly prohibited . We have no concern regarding embedding videos on many other sites. Keep loving, Keep supporting! Наука
I am learning a lot of things from your videos. I genuinely want to thank you from my bottom of my heart 💖💓💖
Glad to hear that... Thanks man
you prolly dont give a damn but does anybody know a tool to log back into an instagram account??
I was dumb forgot my login password. I would love any help you can offer me
i need to change the frequency like if i increase the frequency the voice should be male and if i decrease the voice should be female and if i go on decreasing the voice should convert into cartoon or some other voices can this be done using this
Hello bro im watching your videos and i learn lot of things from you really thanks for that, and i have a question so i made a pdf reader with pyttsx3 its opens the file but with no voice can you pls help me
Thank a lot for the tutorial. Can we change the language into Indonesian language and save the output to a file ?.
From where we can get more voice ID
Thank you for this video
My pleasure
love
Well explained
Thanks a lot
can i use a audio file instad of writing a text?
If yes please tell me how to do that
you mean speech to text, then to speech one more ?
After installing pyttsx3, I am getting female voice. How to get male voice?
Change index to 0
Bro auta jarvas ko program banaunu na... jastai voice command bata task haru garne..... AI friend jastai..... This program will help us to know advance concept........
OK...I will look on it