Skip to content

test(voice): judge pipelined synthesis by what was heard, not by the player's state - #21

Merged
webpolis merged 1 commit into
mainfrom
ccr-1b7a8532-54d0g6
Oct 3, 2026
Merged

webpolis merged 1 commit into
mainfrom
ccr-1b7a8532-54d0g6

Conversation

@webpolis

@webpolis webpolis commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

TestVoiceSpeaksTheFirstSentenceWhileTheRestRenders asked whether the player
was busy the moment the second synthesis request arrived. That request
leaves as the first piece's audio arrives, before the piece is cleaned and
handed to the player, so the answer was a race. clear_voice put a band-pass
and a leveller in that gap, and under -race it was wide enough to lose every
time on CI. The test now checks that the speakers had not yet heard the whole
first piece, which is the claim it exists to make, and it still fails
against a speak that renders serially.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01KGraEtxbWFphuCAfsNSYNb

…player's state

TestVoiceSpeaksTheFirstSentenceWhileTheRestRenders asked whether the player
was busy the moment the second synthesis request arrived. That request
leaves as the first piece's audio arrives, before the piece is cleaned and
handed to the player, so the answer was a race. clear_voice put a band-pass
and a leveller in that gap, and under -race it was wide enough to lose every
time on CI. The test now checks that the speakers had not yet heard the whole
first piece, which is the claim it exists to make, and it still fails
against a speak that renders serially.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KGraEtxbWFphuCAfsNSYNb
@webpolis
webpolis merged commit 48f3846 into main Oct 3, 2026
7 checks passed
@webpolis
webpolis deleted the ccr-1b7a8532-54d0g6 branch October 3, 2026 15:04
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.

2 participants