mic2transcript is a CLI tool that will continuously transcribe audio from the device's built-in microphone to a text file using OpenAI Whisper.
- 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.
- Python 3.6+
- sounddevice
- numpy
- whisper
- Clone this repository:
https://github.com/otonomee/continuous-mic-transcribe
- Install the required packages:
pip install -r requirements.txt
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.