Giter VIP home page Giter VIP logo

voice-bridge's Introduction

voicebridge logo

A speech-to-speech translation MacOS app powered by Whisper and Google Translate

GitHub last commit GitHub code size in bytes GitHub contributors GitHub

Goal

This repo's goal was to develop an appliction testing Whisper's capabilities for real-time voice transcription. Implementing python package speech_recognition made this possible by processing audio input per lingual pauses.

Features

  1. Record and efficiently transcribe, translate, and synthesize speech for CPU-dependent hardware between 85 different languages.
demo_downscale_3.mov
  1. Save up to 7 different recordings at a time.
saving_downscale_2.mov

Usage

  1. Run the application voicebridge_1.0.0_darwin-x86_64.
  2. Select your input and output languages.
  3. Press REC to start recording.
  4. Press again to stop recording.
  5. Press PLAY to play the current recording.
  6. Press SAVE to turn saving ON.
    1. When enabled, press presets 1-6 to store the current recording there.
  7. Press presets 1-6 when saving is OFF to play the saved recording.

Requirements

Educational

    This application utilizes multithreading to simutaneously record and transcribe audio. The front-end is implemented using Python package customtkinter. Object-orientated design is demonstrated via Base and Decoder objects. The app has integration with Google Translate APIs and invokes offline package openai-whisper. This application was compiled to be standalone using py2app.

Limitations

Voicebridge requires an internet connection due to Google API use.

Extensions

  • This software could be paired with voicechat applications to enable real-time translation and speech synthesis between users who speak different languages.

  • This software could be deployed on small devices for people to use when traveling overseas.

    • Extra helpful if offline functionality is implemented

Contributing

Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.

voice-bridge's People

Contributors

anorderh avatar

Stargazers

dtla avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

voice-bridge's Issues

Multithreading lock

During audio recording & transcription, occasionally 1 of these processes will lock. It's possibly associated with SpeechRecognizer's pause functionality and the user unexpectedly stopping the recording during.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.