Keyword wake up can now be enabled or disabled from the configuration menu. When enabled the speech overlay will be shown when calling 'Greta' (listens to Greta, GTA and Kreta). This can be toggled temporarily and only for the current session with m
.
When disabled a muted microphone icon will appear next to the settings button. When enabled an extra line of text is shown beneath the big microphone button to indicate that a user can also speak to start listening for commands.
I had great struggles with naming everything, in the end I mainly ended up with 'keyword wake up'. Suggestions are welcome.
The idea was to implement this functionality mainly in the SpeechOverlay
. So that when that component is removed all the functionality is too. This resulted in what might look like weird data structures between the parent (Dashboard
) and the child (SpeechOverlay
). But this has been done to reduce API calls and increase (and maintain) loose coupling between components. Again, suggestions are welcome.