LEVEL 3 · ENGINEER

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.

4 stages~8 hoursPythoncore
Decode the audio clock before processingMeasure activity without claiming speech detectionSend real WAV bytes through a recognizer boundaryExport a transcript you can hear and correct
YOU END UP WITH

audio.wav, captions.vtt, transcript.json and an HTML page with embedded playback and cue-seek buttons.

USEFUL FOR
  • audio.wav, captions.vtt, transcript.json and an HTML page with embedded playback and cue-seek buttons.
LEARN FIRST
  • Python bytes, lists and context managers.
  • Sample rate, channels and signed integer audio samples.
  • A callable provider interface and basic HTTP request structure.
WHY THESE LANGUAGES
  • Python Stdlib data structures, explicit algorithms and deterministic local tests.
PROJECT OUTLINE

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.

  1. 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 clock
  2. Measure 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 limits
  3. Send 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 hashes
  4. Export 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

All projects · Course catalog · Source on GitHub