Skip to content

v1.1.0: word window synced to the voice

Choose a tag to compare

@CryptoJones CryptoJones released this 13 Sep 06:22
· 24 commits to main since this release
95f1f1c

Word window (RSVP) synced to the voice

The overlay now shows each word as it is spoken, one at a time at a fixed spot, Spritz-style: the optimal-recognition letter in red, guide lines with a tick at the pivot column, a progress bar across the selection and a live WPM readout. The pace is the voice's, not a dial. Kokoro's per-token timestamps are merged into words on the server and served from a new GET /words/<job>/<i>; the player passes them to the overlay with the playback position, and the overlay runs its own clock. Pause freezes on the current word.

  • Servers without /words and non-English voices fall back to length-weighted even spacing.
  • Switch the window off from the toolbar popup if you only want the audio.

Install

Unzip the build for your browser and load it unpacked (Chrome: chrome://extensions with Developer mode; Firefox: about:debugging as a temporary add-on). The server must be restarted to pick up the new endpoint: systemctl --user restart clarkreader or rerun server/run.sh.

Tests

11 extension tests, 26 server tests. See #3.