Simple voice to voice translator using Python
Simple voice to voice translator using Python
Used GoogleTrans API
Modules
googletrans for translating
gTTS for text to speech
pyaudio for audio management
playsound for playing audio
speech recognition for speech input
Note : There is a small problem in Googletrans api …so if you get any error “AttributeError: ‘NoneType’ object has no attribute ‘group’” try this solution : https://codetorial.net/en/googletrans/index.html