Skip to content

Say "Backtalk off" with low-latency audio on - #108

Merged
trypsynth merged 1 commit into
trypsynth:masterfrom
aaron-gh:turn-off-announcement
Oct 8, 2026
Merged

trypsynth merged 1 commit into
trypsynth:masterfrom
aaron-gh:turn-off-announcement

Conversation

@aaron-gh

@aaron-gh aaron-gh commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

With Low-latency audio on, "Backtalk off" was not heard when Backtalk turned off. Pipeline.onUnbind queues the announcement and then Actors.onUnbind shuts down the sounds, and FeedbackController.shutdown() calls LowLatencyAudio.shutdownAll(). Speech shares those players, so the announcement's stream was stopped a few milliseconds after it started, while the engine played its own copy at no volume, as it does for low-latency speech.

The last announcement is now spoken the usual way, through the engine's own playback, as it is with Low-latency audio off. Turning Backtalk on again sets up speech afresh and reads the setting again.

When Backtalk turned off, the sounds shut down the low-latency players
just after "Backtalk off" was queued. Speech shares those players, so
the announcement was stopped before it was heard, and only with
Low-latency audio on.

The last announcement is now spoken the usual way, through the
engine's own playback, as it is with Low-latency audio off. Turning
Backtalk on again reads the setting again.
@trypsynth
trypsynth merged commit 68db718 into trypsynth:master Oct 8, 2026
2 checks passed
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