Skip to content

docs+chore: make streaming claims precise everywhere - #16

Merged
willwade merged 1 commit into
mainfrom
docs/streaming-accuracy
Aug 16, 2026
Merged

docs+chore: make streaming claims precise everywhere#16
willwade merged 1 commit into
mainfrom
docs/streaming-accuracy

Conversation

@willwade

Copy link
Copy Markdown
Contributor

Follow-up to #14/#15 — the README still didn't tell the whole story:

No API or behaviour change beyond chunk sizing. Full lib suite green; live sherpa_streams_audio_per_sentence_batch re-verified with the real Piper model.

The PR #15 README edit collided with the PR #14 wording, duplicating
the estimated-boundaries sentence; the engine table still said
'Chunked' uniformly, which is both uninformative and wrong for
Google/ElevenLabs-with-timestamps (JSON base64, post-response) and
understated Azure/Edge (real-time WS) and sherpa (sentence batches).

- README table: Streaming column now distinguishes 'Real-time (WS)',
  'Streamed' (as bytes arrive), 'After response (JSON)', and
  'Sentence batches' (sherpa)
- README streaming bullet: de-duplicated; one accurate paragraph
- sherpaonnx_engine: stale 'synthesises the whole clip up-front'
  doc comments on STREAMING_CHUNK_SIZE/deliver_pcm updated; deliver_pcm
  removed (dead since the streaming path) and the generate callback now
  re-chunks batches to the documented 8 KB multi-callback shape instead
  of emitting one large buffer per sentence
@willwade
willwade merged commit f8e7c2c into main Aug 16, 2026
12 checks passed
@willwade
willwade deleted the docs/streaming-accuracy branch August 16, 2026 16:00
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