Files

4.0 KiB
Raw Permalink Blame History

Vorleser — Product requirements (v1)

Problem

Long technical texts such as papers, analyses, and documentation demand sustained attention. Research on reading while listening shows a small pooled benefit (Hedges' g ≈ 0.18). That benefit disappears when reading is self-paced and the reader has no control over the audio. Existing text-to-speech either requires copying text into a separate app, uses cloud services, or offers coarse control.

Product statement

Select text anywhere on the Mac, press one shortcut, and hear it read aloud by a local Ollama speech model, with the controls a careful reader needs: pause, replay sentence, skip paragraph, adjust speed. The original document stays in front of you.

Persona

A technical professional who reads demanding English and German material on an Apple Silicon Mac. They already run Ollama locally and care about privacy, fidelity, and keyboard-driven workflows.

User stories and acceptance criteria

ID Story Acceptance criteria
US-1 As a reader, I select text in Safari and press ⌥⎋ to hear it. Audio starts ≤ 1.0 s (warm model). Safari keeps focus. The controller panel appears without stealing focus.
US-2 As a reader, I pause to look at a figure and resume later. Space in the panel, or the menu-bar Pause item, pauses within 100 ms. Resume continues from the exact sample.
US-3 As a reader, I replay a difficult sentence. ← restarts the current sentence if > 1.5 s in, else goes to the previous one. Replay of a cached sentence starts ≤ 100 ms.
US-4 As a reader, I skip to the next paragraph. ⌥→ jumps to the first sentence of the next paragraph. Pending synthesis for skipped sentences is cancelled.
US-5 As a reader, I change speed without changing pitch. Speed 0.5–2.0× in 0.1 steps. The change applies live. The setting persists.
US-6 As a German reader, I select German text and hear a German voice. Language is detected. The de route (phonon:40m-de) is used if installed. Otherwise the fallback model is used and a hint shows ollama pull phonon:40m-de.
US-7 As a reader, I choose a voice per model. Settings lists only voices reported by /api/show for each installed speech model. The choice persists.
US-8 As a reader, I select new text while something is playing and press ⌥⎋. The old session stops and the new session starts from the new selection.
US-9 As a reader, I use the right-click Services menu in an app where the hotkey does not work. "Read with Vorleser" appears for text selections and starts a session.
US-10 As a first-time user, I am guided through setup. Onboarding checks Ollama reachability and version, the speech model, and Accessibility trust. Each failing check offers a one-click fix or a copyable command.
US-11 As a privacy-conscious user, I know nothing leaves my Mac. Default endpoint is loopback. A remote endpoint requires an explicit toggle and HTTPS. No logs contain text. No disk cache unless enabled.
US-12 As a reader, I see which sentence is being read. The panel shows the current sentence and progress "n / N". This can be toggled off.
US-13 As a reader, I get a clear message when something fails. Each VorleserError maps to a human message plus an action. No raw error strings.
US-14 As a reader, I want Vorleser available at login. "Launch at login" toggle via SMAppService.

Out of scope (v1)

Word-level highlighting in the source app. Summarisation or rewriting. A document library. Export to MP3. Mac App Store distribution. Intel Macs.

Candidate v2 features

  • Export selection to an audio file (M4A) with metadata, for the Substack narration workflow.
  • Adapted-narration mode (LLM transforms tables/code into prose) with a visible "adapted" badge.
  • Paragraph-level synthesis option for smoother prosody.
  • Pronunciation dictionary (per-term replacements, e.g. "EuroHPC" → "Euro H P C").
  • Shortcuts.app / AppIntents: "Read text with Vorleser".