Push-to-talk speech-to-text input using OpenAI Whisper
Project description
whisper-ptt
Push-to-talk speech-to-text. Hold a key to record, release to transcribe and type.
Usage
uvx whisper-ptt
uvx whisper-ptt --model base --key alt_r
Options
--model— Whisper model (tiny, base, small, medium, large). Default:base--key— Hotkey name frompynput.keyboard.Key. Default:alt_r
macOS permissions
This tool needs two macOS permissions to work:
- Accessibility — to listen for hotkey presses and type transcribed text into the active window.
- Microphone — to record audio.
To grant accessibility access:
- Open System Settings > Privacy & Security > Accessibility
- Click the + button and add your terminal app (Terminal, iTerm2, VS Code, etc.)
- If already listed, toggle it off and back on
Microphone access is prompted automatically on first use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whisper_ptt-0.1.0.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whisper_ptt-0.1.0.tar.gz.
File metadata
- Download URL: whisper_ptt-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893d515ac42a904cf3b5a50e46f21512dd1c5161d5598c02b660c2bbbc5bab91
|
|
| MD5 |
716ec9e45796893bbb661e9cdf1fffba
|
|
| BLAKE2b-256 |
12c4a371a63fb37b4ceeeb472dcfe1e38675701398bc2277860158d86d6db61e
|
File details
Details for the file whisper_ptt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: whisper_ptt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59e1a057eb2220a2cb6a48ab89e89346b0de1521b1524d94253475a25c0569c5
|
|
| MD5 |
d8129cf13698f53c0dccd47c07fa91ad
|
|
| BLAKE2b-256 |
47f010a29c91816832ca5fce72f238bf1d765c9c79b4bba78b94af571efde45a
|