Skip to content

Verify Piper voice requests and audio output - #7

Merged
steinbro merged 7 commits into
project-spiel:mainfrom
paul-geoghegan:test/piper-audio-verification
Dec 1, 2026
Merged

steinbro merged 7 commits into
project-spiel:mainfrom
paul-geoghegan:test/piper-audio-verification

Conversation

@paul-geoghegan

Copy link
Copy Markdown
Contributor

Replace the timing-only Piper check with D-Bus verification that the requested voice reaches Piper. In the silent Workshop, capture null-sink audio and fail if it is silent. Add a five-minute timeout and child-process cleanup, and install dbus-bin in the Workshop setup. Verified across all 23 voices.

paul-geoghegan and others added 7 commits December 1, 2026 11:26
Check Piper D-Bus requests and captured silent-Workshop audio, with process cleanup on interruption.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Stop waiting after five minutes and clean up child processes. Share the
PulseAudio environment setup between pactl and parecord.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fail setup when a package index cannot be downloaded instead of continuing with incomplete indexes. Retry index and package downloads up to three times.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
When Snapcraft stages base-files, bin is a symlink to usr/bin. Install the launcher in usr/bin so its part does not create a conflicting bin directory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
snapd gives up on the Snap Store after under a minute of retries, so a
brief store outage failed the silent Workshop's setup-base hook with
"unable to contact snap store". Wait for snapd's seeding to finish, then
retry the base snap install up to five times, 30 seconds apart, logging
store connectivity and DNS resolution after each failure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@steinbro
steinbro merged commit 6ccf5cf into project-spiel:main Dec 1, 2026
10 of 12 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