Skip to content

AI Voice Translator using speech recognition and google translate. Used for english and spanish.

License

Notifications You must be signed in to change notification settings

willdphan/voice-translater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Voice Translator

This repository uses PyAudio, langdetect, and googletrans to generate translated audio.

Installation

To get started, you'll need Python 3.7 or newer. To install pyaudio, use the commands below.

on MacOS using Homebrew

brew install portaudio
pip install pyaudio

Usage

The following command will prompt the text "Speak something...", in which you can speak into the mic.

python3 translate.py

It will recognize the voice, and interpret what was received in terminal. Thehn, it produces an outputed translated in spanish or english (depending on which language was spoken).

License

This script is open-source and licensed under the MIT License. For more details, check the LICENSE file.

About

AI Voice Translator using speech recognition and google translate. Used for english and spanish.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages