feat(voice): add local wake response prompt

Enable the packaged wake response prompt by default and add the MP3-to-device-Opus conversion utility.
This commit is contained in:
chenjintao
2026-08-10 17:40:12 +08:00
parent e5c1564130
commit 617255bdab
6 changed files with 358 additions and 14 deletions
+5 -7
View File
@@ -889,20 +889,18 @@ menu "Example Configuration"
config TQ_LOCAL_WAKE_RESPONSE_PROMPT_ENABLE
bool "Enable local wake response prompt"
depends on TQ_LOCAL_WAKE_ENABLE
default n
default y
help
Play a short acknowledgement after 喵掌柜 is detected and
before the normal single-turn dialog starts. Keep disabled
until the placeholder Opus asset has been supplied.
before the normal single-turn dialog starts.
config TQ_LOCAL_WAKE_RESPONSE_PROMPT_FILE
string "Local wake response prompt file"
depends on TQ_LOCAL_WAKE_ENABLE
default "/littlefs/audio_prompts/local_wake_response.opus"
default "local_wake_response.opus"
help
Reserved LittleFS path for the future wake acknowledgement.
Add local_wake_response.opus under
components/platform/assets/audio_prompts before enabling it.
Prompt filename relative to /littlefs/audio_prompts. Absolute
LittleFS paths are also supported.
config TQ_LOCAL_WAKE_RETRY_MS
int "Local wake startup retry delay (ms)"