Modules:
deep_translator
gtts (for saving the audio)
PyQt5 (for user interface)
All modules can be found and downloaded from PYPI website:
https://pypi.org/
pip install deep-translator
pip install gtts
pip install PyQt5
JOIN TO MEDIA SOSIAL IMRO ATUL AZIZ
INSTAGRAM :
/ aziznoob000
Subscribe my channel :
/ @imroatulaziz
Donate : Buat ngopi-ngopi
https://saweria.co/aziznoob000
Business inq :
[email protected]
I had difficulties getting the sound to play since most audio player modules do not support android yet. Luckily, I found kivy audio player that works fine on Android. You can use kivy audio player:
from kivy.core.audio import SoundLoader
sound = SoundLoader.load(audiofile)
sound.play()