Welcome to VocalBridge, an app designed to break language barriers with ease. Using Gradio, AssemblyAI, and ElevenLabs, it allows you to record or upload your voice, transcribe it, translate into multiple languages, and then convert it back to speech, all within a beautiful, user-friendly interface.
- Prerequisites
- Problem Definition
- Solution Provided
- Features
- How It Works
- Getting Started
- Technologies Used
- Dependencies
- Contributing
Before setting up and running the project, ensure you have the following:
- Python 3.7+: Make sure Python 3.7 or higher is installed on your machine.
- Download and install from Python Official Site.
- Git: Required for cloning the repository.
- Download and install from Git Official Site.
- API Keys: Obtain API keys for the following services:
- AssemblyAI: Get API Key
- ElevenLabs: Get API Key
- Virtual Environment (Optional but Recommended):
- For managing project dependencies separately from your system Python installation.
- Instructions for setting up a virtual environment can be found here.
- Internet Connection: Required for downloading dependencies and accessing APIs.
- Language Barriers: Difficulty in communicating across multiple languages.
- Transcription Accuracy: Need for precise conversion of spoken words to text.
- Translation Challenges: Efficiently translating text into various languages while maintaining meaning.
- Speech Generation: Producing natural-sounding audio from translated text.
- User Interface: Creating an intuitive interface for recording, translating, and playing audio.
VocalBridge addresses this by offering:
- Real-time audio transcription.
- Multi-language translations for the transcribed text.
- Speech generation from translations in a variety of supported languages.
- Downloadable audio outputs for easy access and sharing.
- 🎙️ Voice Recording & Uploading: Record directly from your microphone or upload existing audio.
- 🌐 Multi-language Translation: Translate your voice into a wide range of supported languages.
- 🔊 Text-to-Speech in Multiple Languages: Get audio outputs in your chosen languages.
- 📈 Real-time Progress Tracking: Keep an eye on the status of your transcription and translation tasks.
- 🌟 Sleek UI: A modern, customizable interface with a waveform player.
- Homepage: Introduction to VocalBridge with a user-friendly interface.
- Voice Recording: Option to record or upload audio files.
- Language Selection: Choose from a variety of languages for translation.
- Audio Playback: Listen to the translated audio outputs directly on the website.
-
Clone the Repository:
git clone https://github.com/kittu-122/VocalBridge.git cd VocalBridge -
(Optional) Create a Virtual Environment:
python -m venv venv venv/Scripts/activate
-
Install Dependencies
pip install -r requirements.txt
- Run the Gradio App:
python {replace with file name}.py - Access the App: Open http://localhost:7860 in your browser to start using VocalBridge.
This project leverages the following libraries and tools:
- AssemblyAI: API Documentation
- ElevenLabs: API Documentation
- Gradio: Quickstart Guide
- Translator Library: Documentation
assemblyaitranslateelevenlabsgradiopydanticnumpyuuidpathlib
- We're are open to enhancements & bug-fixes.
- Feel free to add issues and submit patches.
Happy coding! 🚀 Thank you for choosing this project. Hoping that this project proves useful and delivers a seamless experience for your needs!
