Skip to content

fix(voxtype): read final text from streaming sessions - #54

Draft
quanru wants to merge 1 commit into
feat/voxtype-model-choicefrom
feat/voxtype-stream-compat
Draft

quanru wants to merge 1 commit into
feat/voxtype-model-choicefrom
feat/voxtype-stream-compat

Conversation

@quanru

@quanru quanru commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Accept Voxtype 1.1 streaming sessions as an active recording state.
  • Pass --wait-file when the CLI supports it, so a caller with a separate config can wait on the private transcript path.
  • Recover the completed transcript when Voxtype's streaming file mode returns exit 3 after writing the file without a .done sidecar. The normal final-result path then allows Doubao Say polishing.
  • Document the current partial-text limitation.

Dependencies and merge gate

Real test

  • Downloaded Whisper multilingual base and tiny without activating either as the system default. Used official Voxtype 1.1.0 AVX2 binary in an isolated daemon, verified against its release SHA256SUMS.
  • Played a 5.59s Chinese fixture through a temporary PipeWire virtual source; restored the original source afterward.
  • Before fix, Doubao Say rejected streaming. After fix, its real Voxtype client returned 開放時間早上酒點,至於下午5點。 with no error. The final result enters the existing polishing path.
  • Voxtype native streaming produced multiple interim recognitions, but the file did not exist at +3s and status exposed only state. The current public CLI delivers file text at stop; this PR does not add a separate partial transcript feed.
  • Whisper base exceeded the default 0.8s update interval at 2.4–3.0s per inference and timed out after stop. tiny at a 1.5s interval took about 1.1–1.2s per inference and completed.

Checks

  • Focused Voxtype tests passed.
  • make check PYTHON=/home/leyang/doubao-say/.venv/bin/python passed.
  • make coverage PYTHON=/home/leyang/doubao-say/.venv/bin/python passed (61% total).
  • Local nonvisual verification notes: artifacts/verification/voxtype-streaming-compat/verification.md (ignored by Git).

This branch has not been deployed

No deployments
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.

1 participant