Skip to content

refactor(voice): own the Pocket TTS engine in Berd - #131

Merged
johnmatthewtennant merged 6 commits into
mainfrom
jtennant/vendor-pocket-tts-engine
Aug 20, 2026
Merged

refactor(voice): own the Pocket TTS engine in Berd#131
johnmatthewtennant merged 6 commits into
mainfrom
jtennant/vendor-pocket-tts-engine

Conversation

@johnmatthewtennant

@johnmatthewtennant johnmatthewtennant commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves Pocket TTS inference from the Buzz dependency into a Berd-owned berd-voice crate, so the engine can evolve without Buzz releases.

The crate contains the April ONNX runtime, tokenizer and chunking logic, and reference-voice loading used by Berd’s native voice path. Model installation metadata remains in the existing Berd installer instead of being duplicated in the crate.

Reviewer-reproducible examples

  1. Check out this PR and launch Berd with just dev.
  2. In Voice settings, install the native voice models and select a Pocket voice.
  3. Start a voice conversation and prompt for a spoken response.
  4. Confirm Berd synthesizes and plays the response through the native voice path, and that stopping playback still interrupts it.

@johnmatthewtennant
johnmatthewtennant marked this pull request as ready for review August 19, 2026 21:25
@johnmatthewtennant
johnmatthewtennant requested a review from a team August 19, 2026 21:25
@johnmatthewtennant
johnmatthewtennant marked this pull request as draft August 20, 2026 01:43
@johnmatthewtennant
johnmatthewtennant marked this pull request as ready for review August 20, 2026 14:54
Comment thread src-tauri/crates/berd-voice/src/pocket.rs Outdated
kalvinnchau
kalvinnchau previously approved these changes Aug 20, 2026
@johnmatthewtennant
johnmatthewtennant merged commit 8323dda into main Aug 20, 2026
8 checks passed
@johnmatthewtennant
johnmatthewtennant deleted the jtennant/vendor-pocket-tts-engine branch August 20, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants