Город МОСКОВСКИЙ
00:07:35

[Python] How to convert text to speech? | Get male and female voice? | Adjust speed and volume?

Аватар
Кодовая Мозговая Буря
Просмотры:
28
Дата загрузки:
02.12.2023 09:55
Длительность:
00:07:35
Категория:
Технологии и интернет

Описание

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: https://igtechteam.com/
➥Facebook page: https://www.facebook.com/IshwarGautam239/
➥Instagram page: https://www.instagram.com/ishwar_gautam1/
➥LinkedIn: https://www.linkedin.com/in/ishwargautam1/

Searching for more videos? Then here is the link:
?Complete Natural Language Processing Playlist:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPErp-DQRRbTKT1_fVKDDL3p

?To learn about deep learning:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPHnh0GGag6_gxBZUmSgImtO

?To learn about Machine learning and data science tutorial:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPGthzTIcdVAqCDCPFUAyZ64

?To learn about project of Machine learning and data science:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPHTHFLQHhGzEhVICXGBFpzm

?To learn about python full course:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPFUAyqK0PhNvsKQcGANhp69

?To learn about java full course:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPGsaZTJcwpBBe7-8zGm8W3S

?Project discussion: What project can we make from python, PHP, java, C/C++:
https://www.youtube.com/playlist?list=PLiWNvnK7PSPHAaDPi4q0YvaZCP38ncj7d

?Learn in just one video (coding like C,C++,Java, PHP, python and many more)
https://www.youtube.com/playlist?list=PLiWNvnK7PSPHRQRPm9MJhIUBmpBzvbU4Y

➤visit my channel to find more videos:
https://www.youtube.com/c/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!

Рекомендуемые видео