Skip to content
Work

VScrybe

Voice notes to text, right on your own computer.

Role
Design and engineering, start to finish
Built with
Tauri 2, Rust, OpenAI's open Whisper models
Runs on
Linux, macOS and Windows
License
MIT, free
Links
vscrybe.dalgoridim.comGitHub
A VScrybe session with voice notes, their transcripts and timestamps
Fig. 1A session of voice notes, transcribed on a laptop, offline.

Every line starts with the second it was said. Click it and the note plays from there, and the line being spoken stays lit while it plays. Starting one note pauses every other. You can listen while a note is still transcribing, and when the text arrives and the card redraws, playback carries on from the same second instead of stopping.

Fig. 2Clicked 0:20. The lit line follows the voice.

Files you add wait in a tray above the composer until you press Send. Listen to one first, remove it, or add the same file twice and be told it's already there. The tray lives in the browser's IndexedDB, so it's still there after a restart. I dropped the "Adding N voice notes" overlay: the copies are local and finish almost at once, so it only flashed on screen.

Fig. 3Two waiting, the first played as a preview, then Send. Until then, nothing is transcribed.

Whisper invents text when there's little to hear: "Thank you.", "You" and "Shh." turned up as lines in quiet and noisy stretches. Filtering those phrases everywhere would delete real thanks, so they're only dropped when the model already doubts there's speech, or the burst is under a second and a half. Lines with no words at all, a lone ".", go too.

src-tauri/src/engine/transcribe.rs · rust
const SHORT_BURST: usize = RATE * 3 / 2;

const PHANTOMS: &[(&str, &[&str])] = &[(
    "en",
    &["you", "thank you", "thank you very much", "thanks",
      "thanks for watching", "thank you for watching", "shh", "shhh"],
)];
…
let doubtful = attempt.no_speech_prob > NO_SPEECH_LIMIT
    || chunk.len() < SHORT_BURST;
found.retain(|s| s.text.chars().any(char::is_alphanumeric)
    && !(doubtful && is_phantom(&s.text, &language)));
Excerpt, trimmed with …

The app's binary is also a command line tool. Point it at files or a whole folder and it writes a .txt beside each recording, skipping any that already have one, so a folder of voice notes can be kept up to date by running the same line again.

$ vscrybe transcribe --help
Transcribe files or folders, writing a .txt next to each
Usage: vscrybe transcribe [OPTIONS] <PATHS>...
Options:
-m, --model <MODEL> small (Fast), large-v3-turbo (Accurate), or a model you added (see `vscrybe models`) [default: small]
-l, --language <LANGUAGE> Language spoken in the recordings, as a code such as en, fr or yo [default: en]
-t, --timestamps Prefix each line with [m:ss]
-f, --force Redo files that already have a .txt
--stdout Print transcripts instead of writing files
-h, --help Print help
$ vscrybe transcribe jfk.opus long1.opus 2>&1 | cat
... jfk.opus
100% 0:11 / 0:11 jfk.opus
done jfk.txt 0:11 of audio in 0:09 (1.2× real time)
... long1.opus
0% 0:00 / 0:33 long1.opus
66% 0:22 / 0:33 long1.opus
100% 0:33 / 0:33 long1.opus
done long1.txt 0:33 of audio in 1:00 (0.5× real time)