Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/otonomee/mic2transcript

CLI tool that continuously transcribes audio from the device's built-in microphone to a text file. Runs in the background, providing an ongoing log of ambient audio as text.
https://github.com/otonomee/mic2transcript

audio cli cli-tool openai speech speech-transcription transcription whisper

Last synced: 3 months ago
JSON representation

CLI tool that continuously transcribes audio from the device's built-in microphone to a text file. Runs in the background, providing an ongoing log of ambient audio as text.

Awesome Lists containing this project

README

        

# mic2transcript

mic2transcript is a CLI tool that will continuously transcribe audio from the device's built-in microphone to a text file using [OpenAI Whisper](https://github.com/openai/whisper).

## CLI Inputs
- Name of output text file
- Transcription model
- `tiny`: Fastest, lowest accuracy. Suitable for quick transcriptions or resource-constrained environments.
- `medium`: Balanced performance. Good for general use, offering a trade-off between speed and accuracy.
- `large`: Highest accuracy, slowest speed. Best for scenarios requiring maximum transcription quality.

## Requirements

- Python 3.6+
- sounddevice
- numpy
- whisper

## Installation

1. Clone this repository: `https://github.com/otonomee/continuous-mic-transcribe`
2. Install the required packages:
```
pip install -r requirements.txt
```

## Usage
To start the transcription, run the tool from the terminal:
```
python main.py
```

You will be prompted to select a Whisper model and specify an output file name for the transcriptions.

The tool will run in the background, transcribing any detected audio into the specified text file. Press 'q' in the terminal to stop
the transcription process.