ReaSpeech Lib
ReaSpeech Lib is a REAPER extension that puts a Whisper transcription engine behind a handful of ReaScript API functions. Transcription runs on-device, on worker threads, so REAPER’s main thread — and your script’s UI — stay responsive while it works. There’s no Python backend and no Docker container to run.
It’s a building block for script developers rather than an application: bring your own interface, or start from the ReaImGui example in the repo.
Using it
Start a job, then poll for events from a deferred loop:
local ok, job_id = reaper.ReaSpeech_Start(audio_path, "small")
if not ok then
-- On failure the second value is the error message
reaper.ShowMessageBox(job_id, "ReaSpeech", 0)
return
end
local function poll()
local event = reaper.ReaSpeech_Poll(job_id)
if event ~= "" then
-- JSON: started, progress, segment, completed, cancelled, or error
end
reaper.defer(poll)
end
poll()
Each recognized segment is emitted as soon as it’s ready, with start and
end times, text, and a confidence score; word-level timing is optional.
Beyond the audio path and model (small, medium, large-v3, or
large-v3-turbo), a job can set the language or leave it to automatic
detection, translate to English, enable voice-activity detection, and
pass hotwords — names and terminology to favor during recognition.
ReaSpeech_StartEx takes the same options as a JSON object, plus beam
size. Models download on first use.
The full API, event formats, and a complete polling loop are in the README and examples.
Installing
ReaSpeech Lib ships as four packages, one per compute backend. ReaPack can match your operating system but can’t detect a GPU, so the choice is yours — install exactly one. They all register the same API, and loading more than one is unsupported.
| Package | For |
|---|---|
| ReaSpeech Lib (CPU) | Windows and Linux (x86_64), no GPU required |
| ReaSpeech Lib (Metal) | macOS on Apple silicon (M1 and later) |
| ReaSpeech Lib (CUDA 13) | Windows and Linux with a current NVIDIA driver |
| ReaSpeech Lib (CUDA 12) | Windows and Linux with an older NVIDIA driver |
- In REAPER, open Extensions → ReaPack → Import repositories…
- Paste
https://github.com/TeamAudio/reascripts/raw/main/index.xml - Find your backend’s package in the package browser, install it, and restart REAPER.
Intel Macs aren’t supported at the moment. Builds are also attached to the GitHub releases.