Convert Text to Speech Using Python | GeeksforGeeks

preview_player
Показать описание
In this video, we're going to discuss how to convert Text to Speech using Python. In this project, the user will be required to enter the text as input and then the Python program will transform the entered text into audio speech. Here, we will use the pyttsx3 library in Python to create this project. So, let's get started now.

Check Out the Related Articles:

This video is contributed by Shambhavi Gupta.
Please Like, Comment, and Share the Video with your friends.

#python #projects #texttospeech #beginner #gtts

Install our Android App:

If you wish, translate into the local language and help us reach millions of other geeks:

Follow us on our Social Media Handles -

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

import pyttsx3
text_speech= pyttsx3.init()
answer = input("myself robo")
while True:
answer = input("what you convert")
if(answer=="q"):
break
text_speech.say(answer)
text_speech.runAndWait()

Little efforts to the existing code:)

dostirathi
Автор

Code runs successfully .. thanks for tutorial 😄😄

charuarora
Автор

After lot of attempts found this and it Thank you

najamnawazish
Автор

Hello and thanks for your explanation. I only recommend that in future videos, that you slightly slow down the explanation. Ty!

theanonymoustechie
Автор

This video is very helpful, thank you so much.

Feelinglonely
Автор

Ooh thank you so much you save my life

ntumbabutshiteya
Автор

HI !Thanks a lot for this video. BUt I have one question, if python vonvert text data in foreign language such as Russia, how should I change it, in order to speech in Russian? Thanks!!!

xinwenzhang
Автор

I want to do this but with c#

Good info

TheStickCollector
Автор

Hey my friend, its not executing...
Just process finished with exit code 0
And nothing is happening!
Pls give me the solution ☹️

gayathri
Автор

Thanks a lot but how can we change the voice sample ? And how to control the seed?

callformusic
Автор

Ma'am can you please tell how to download pyttsx3 module?

sunakshisingh
Автор

Too monotonous .. Any library that is more of human

manumaunman
Автор

Why almost all Hindi can't pronunce properly in english? So difficult to understand a word! The voice generated has a nice pronunciation and I can understand it 100%.

carlosdiazreyes