Python Convert Text To Speech | Google Text To Speech (gTTS)

preview_player
Показать описание
Join PyQt6 13 Hours Course in Udemy

My Affiliate Books:
Learn Python, 5th Edition

In this Python video i want to show how to Convert Text To Speech using Google Text To Speech (gTTS) and pyttsx3.

What is Google Text To Speech (gTTS) ?

gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate's text-to-speech API. Writes spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation, or stdout.

What is pyttsx3 Library ?

pyttsx3 is a text-to-speech conversion library in Python. Unlike alternative libraries, it works offline, and is compatible with both Python 2 and 3. you can simple install by using pip install pyttsx3 . 

Get the source code:

Python Speech Recognition Introduction

Python Speech Recognition | Open Website By Speech | Google Speech

Python Convert Recorded Audio To Text | Python Speech Recognition

#Python#SpeechRecognition#GoogleSpeech
Рекомендации по теме
Комментарии
Автор

Can't we play sound without save?

efeakbaba
Автор

Hi, is it possible to convert text to speech offline so that it doesn't have this much delay?

shantanumaheshwari
Автор

hi, how do i add other languages supported by google text to speech?

goodboygonebad
Автор

Hi great video..is it possible to do a speech to text language translation? Example From english to german.

diodior