Skip to content

add optional error sound#67

Merged
brownard merged 2 commits intobrownard:masterfrom
xvello:error-sound
Mar 17, 2026
Merged

add optional error sound#67
brownard merged 2 commits intobrownard:masterfrom
xvello:error-sound

Conversation

@xvello
Copy link
Copy Markdown
Contributor

@xvello xvello commented Mar 10, 2026

Handle the VOICE_ASSISTANT_ERROR proto message and:

  • log it as warning and as a new VoiceError state
  • optionally, play a sound

This message happens for me when speech-to-phrase is unable to find any reasonable match. In that case, I want to be aware of it and repeat the command.

Notes

  • I didn't add a default sound, but I'm using this one and I'm unsure whether licensing would be compatible
  • the error message flickers very fast on the UI, because VOICE_ASSISTANT_TTS_END is received just after. I'll look into throttling state changes in the UI later
  • the Tasker plugin will need to be updated for this new state, I'll add a commit on whichever PR is merged second

… error

The error sound is taken from here - https://pixabay.com/sound-effects/film-special-effects-ui-sounds-pack-4-12-359738/
I believe sharing and distribution is allowed by the pixabay licence.
@brownard brownard merged commit 924d325 into brownard:master Mar 17, 2026
1 check passed
@xvello xvello deleted the error-sound branch March 18, 2026 08:25
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