python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use muti-language in 'gTTS' for single input line?
I want to convert text to speech from a document where multiple languages are included. When I am trying to do the following code, I fetch problems to record each language clearly. How can I save such...
Md. Rezwanul Haque
Votes: 0
Answers: 1
How to setup multilingual text to speech API for text with mixed-language inputs?
i was trying gtts this way :
from gtts import gTTS
mytext = 'Welcome to gtts আজ একটি ভাল দিন'
language = 'en'
myobj = gTTS(text=mytext, lang=language, slow=False)
myobj.save("welcome.mp3")
...
Mobassir Hossen
Votes: 0
Answers: 0
I'm getting an error when I use PyInstaller to convert my gTTS project to an EXE
I'm just making a Python console app that converts text to an mp3 file.
This is my Python code :
from gtts import gTTS
import os
text=input()
mp3 = gTTS(text = text,lang='en',slow=False)
mp3.save...
Jotham
Votes: 0
Answers: 1