alexa-pi/AlexaPi

[Enhancement] Play wake word feedback in parallel to improve Alexa responsiveness

Open

#279 geöffnet am 15. Juli 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (402 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (1.324 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This is an enhancement suggestion. Currently we wait until wake work feedback (the "yes" sound) finishes then connect to AVS and then stream recorded voice. Connecting to AVS isn't always fast, can be seconds, and that causes a delay in Alexa respond - very often in my experience. Eventually, we can connect to AVS earlier and make Alexa feel more responsive. Let's start playing "yes" in parallel in another thread while connecting to AVS immediately after the wake word is detected. Then the sound playback thread needs to join back before we start recording and send speech to AVS.

Contributor Guide