Voice Note Transcriber Pipeline
Turn a selected WAV into an inspectable transcript and caption review page using a real optional HTTP recognizer, with an honest offline speech fixture.
audio.wav, captions.vtt, transcript.json and an HTML page with embedded playback and cue-seek buttons.
- audio.wav, captions.vtt, transcript.json and an HTML page with embedded playback and cue-seek buttons.
- Python bytes, lists and context managers.
- Sample rate, channels and signed integer audio samples.
- A callable provider interface and basic HTTP request structure.
- Python Stdlib data structures, explicit algorithms and deterministic local tests.
Voice Note Transcriber Pipeline in 4 stages
Turn a selected WAV into an inspectable transcript and caption review page using a real optional HTTP recognizer, with an honest offline speech fixture.
Decode the audio clock before processing
The integer samples 0, 16384 and -16384 become 0, 0.5 and -0.5. A sample index of 800 at 16000 Hz means 0.05 seconds. Interpreting the same index at 8000 Hz would double the timestamp without changing a single byte.
starter · ~2 hours · Python
PCM WAVsample normalizationsample clockMeasure activity without claiming speech detection
At 1000 Hz, forty samples of amplitude0.5, twenty silent samples and forty active samples merge into [0,100] when gap_ms is40. The merged span lasts100 ms. A20 ms isolated burst is discarded when min_ms is40.
core · ~2 hours · Python
RMS energygap mergingactivity limitsSend real WAV bytes through a recognizer boundary
A provider timeout followed by success records attempts=2. Each output row retains start, end, text and the SHA256 of the exact encoded segment. A second segment cannot overlap the previous one, and fractional sample indices are invalid.
core · ~2 hours · Python
multipart HTTPbounded retryaudio hashesExport a transcript you can hear and correct
The fixture CLI pairs the original spoken clip with its supplied reference text and labels the method clearly. Real recognition instead uses --endpoint. After inspecting playback, edit the rows in transcript.json and run --review-file to rerender; the report must match the original audio hash.
stretch · ~2 hours · Python
WebVTTaudio reviewportable exports