Skip to content

Add eSpeak smoke coverage alongside Piper - #9

Open
paul-geoghegan wants to merge 5 commits into
project-spiel:mainfrom
paul-geoghegan:test/speech-smoke
Open

paul-geoghegan wants to merge 5 commits into
project-spiel:mainfrom
paul-geoghegan:test/speech-smoke

Conversation

@paul-geoghegan

Copy link
Copy Markdown
Contributor

Adds eSpeak smoke coverage alongside the existing Piper checks.

  • Add a Workshop action to verify eSpeak synthesis, with optional silent-workshop audio capture.
  • Check that synthesis requests reach the selected provider and voice and receive successful D-Bus replies.
  • Run Piper and eSpeak checks together in the silent and audible regression workflows.

paul-geoghegan and others added 5 commits December 2, 2026 10:11
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Also use the documented build command and share the snap list between cleanup and installation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep monitor stdout and stderr drained while synthesis runs so a full pipe cannot stall speech completion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add Meson and Ninja to the spiel-it part's build packages so clean Snapcraft build environments can configure it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread tasks/speak_espeak.py
Comment on lines +19 to +23
capture.add_argument(
"--playback-only",
action="store_true",
help="never record audio, even if ESPEAK_CAPTURE_AUDIO=1",
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this argument need to exist? It seems redundant and is inconsistent with the piper version of the script.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know I just moved this into a piper-specific subfolder, but now that it's been generalized to espeak as well, it belongs back at the top level (and should be renamed, too).

Instead of organizing the tests based on which snaps they support, we should have separate directories for things used to test the snaps versus to test the testing harness itself.

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