Giter Club home page Giter Club logo

buzz's Introduction

Buzz

Buzz

MIT License CI

Buzz transcribes audio from your computer's microphones to text in real-time using OpenAI's Whisper.

Buzz - Watch Video

Requirements

To set up Buzz, first install ffmpeg (needed to run Whisper).

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg

How to use

To record from a system microphone, select a model, language, task, microphone, and delay, then click Record.

Model: Default: Tiny.

Language: Default: English.

Task: Transcribe/Translate. Default: Transcribe.

Microphone: Default: System default microphone.

Delay: The length of time (in seconds) Buzz waits before transcribing a new batch of recorded audio. Increasing this value will make Buzz take longer to show new transcribed text. However, shorter delays cut the audio into smaller chunks which may reduce the accuracy of the transcription. Default: 10s.

For more information about the available model types, languages, and tasks, see the Whisper docs.

Record audio playing from computer

To record audio playing out from your computer, you'll need to install an audio loopback driver (a program that lets you create virtual audio devices). The rest of this guide will use BlackHole on Mac, but you can use other alternatives for your operating system (see LoopBeAudio, LoopBack, and Virtual Audio Cable).

  1. Install BlackHole via Homebrew
brew install blackhole-2ch
  1. Open Audio MIDI Setup from Spotlight or from /Applications/Utilities/Audio Midi Setup.app.

  1. Click the '+' icon at the lower left corner and select 'Create Multi-Output Device'.

  1. Add your default speaker and BlackHole to the multi-output device.

Screenshot of multi-output device

  1. Select this multi-output device as your speaker (application or system-wide) to play audio into BlackHole.

  2. Open Buzz, select BlackHole as your microphone, and record as before to see transcriptions from the audio playing through BlackHole.

Build

To build Buzz, install the dependencies:

# using pip
pip install .

# using poetry
poetry install

Then run:

make buzz

buzz's People

Contributors

chidiwilliams avatar

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.