use different language in meeting
This project allows you to speak in one language during a meeting while the other participants hear it in another language. It uses speech recognition, translation, and text-to-speech technologies to achieve this seamless communication.
- Speech Recognition: The system listens to your speech using the computer's microphone.
- Language Translation: The recognized speech is translated from the source language to the target language.
- Text-to-Speech: The translated text is converted into speech.
- Audio Output: The generated speech is played through a virtual audio device.
- Zoom Integration: The virtual audio device is set as the input for your Zoom meeting.
ft/mic.py
: Handles speech recognition using thespeech_recognition
library.ft/tts.py
: Converts text to speech using thegTTS
(Google Text-to-Speech) library.ft/speaker.py
: Manages audio playback, including playing audio through the virtual device.
- Install the required dependencies (speech_recognition, gtts, sounddevice, pydub, pygame).
- Install and configure the BlackHole 2ch virtual audio device.
- Set up your Zoom meeting to use BlackHole 2ch as the audio input.
- Run the main script (not provided in the current context).
- Speak in your preferred language (currently set to Chinese).
- The system will recognize your speech, translate it to English, generate speech, and play it through BlackHole 2ch.
- Participants in your Zoom meeting will hear the English translation of your speech.
Note: The current implementation supports Chinese to English translation. Modify the language settings in the code to support other language pairs.