Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aldrinjenson/realtime-voice-translator
Super simple Voice based translation system with probablly the fastest speeds available
https://github.com/aldrinjenson/realtime-voice-translator
stt voice-to-voice
Last synced: 7 days ago
JSON representation
Super simple Voice based translation system with probablly the fastest speeds available
- Host: GitHub
- URL: https://github.com/aldrinjenson/realtime-voice-translator
- Owner: aldrinjenson
- Created: 2024-07-20T15:12:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T20:14:23.000Z (4 months ago)
- Last Synced: 2024-07-21T21:46:56.299Z (4 months ago)
- Topics: stt, voice-to-voice
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# VoiceVista: Multilingual Voice based Speech Translator
VoiceVista is a real-time voice translation web application that allows you to speak in one language and get instant translation speech in another.
## Features
- Real-time speech-to-text conversion
- Text-to-speech output for translated text
- User-friendly interface with mobile-responsive design
- Easy language selection with searchable dropdowns## Demo
https://github.com/user-attachments/assets/d7977929-9c41-473f-a8a4-17853f38887e
## Prerequisites
Before you begin, ensure you have met the following requirements:
- Node.js (v14.0.0 or later)
- npm (v6.0.0 or later)
- A Google Cloud Platform account with Speech-to-Text and Translation APIs enabled
- A valid Google Cloud service account key## Installation
1. Clone the repository:
```
git clone https://github.com/aldrinjenson/realtime-voice-translator
cd realtime-voice-translator
```2. Install the dependencies:
```
npm install
```3. Create a `config` folder in the root directory and add a `googleCloud.js` file with your Google Cloud credentials:
```javascript
module.exports = {
keyFilename: '/path/to/your/google-cloud-credentials.json'
};
```4. Start the server:
```
npm start
```5. Open your web browser and navigate to `http://localhost:3000` (or the port you've configured).
## Usage
1. Select your source language from the first dropdown.
2. Select your target language from the second dropdown.
3. Click and hold the microphone button to start recording your voice.
4. Release the button to stop recording and wait for the translation.
5. The original text and its translation will appear on the screen.
6. Click the speaker icon next to the translated text to hear it spoken aloud.