This project implements a real-time audio translator that converts spoken language Python (v3.12.4 )from one source language to a target language.
-
Python (v3.12.4 ): Python is the foundation, providing a versatile and readable language for building the application. The latest stable version (as of July 1, 2024) is recommended for performance benefits and compatibility.
-
SpeechRecognition Module (latest version): This module enables speech-to-text conversion, allowing your program to understand spoken language from the microphone. Using the latest version ensures access to the most up-to-date speech recognition models for improved accuracy.
-
Googletrans (latest version): This library provides access to Google Translate's API, enabling real-time translation between languages. Utilize the latest version to benefit from Google's ongoing improvements in translation accuracy and language support.
-
GTTS Module (up-to-date version): While not strictly necessary for translation, GTTS (Google Text-to-Speech) allows your program to convert translated text into spoken audio for a more natural conversational flow. Use the latest available version from PyPI to ensure bug fixes and improvements.
-
Streamlit UI Module (latest version): Streamlit simplifies the creation of web interfaces in Python. If you plan to build a web-based user interface for your translator, consider using the most recent version to take advantage of the latest features for building user interfaces.
-
Pygame Module (latest version): Pygame is a multimedia library. While not essential for core translation functionality, it might be useful if you want to integrate advanced audio playback features beyond what GTTS offers. Using the latest version ensures compatibility and potentially provides access to new functionalities.
-Googletrans:
pip install googletrans
-SpeechRecognition:
pip install SpeechRecognition
- Gtts
pip install gtts
-Streamlit:
pip install streamlit
-Pygame:
pip install pygame
-Pyaudio:
pip install PyAudio
Creator-Vedant Birewar