razzo04 / rhasspy-mobile-app

A simple mobile app for rhasspy.
MIT License
118 stars 13 forks source link

[Feature request] Turn ON screen when wake word is detected #15

Open PhilippeRaven opened 2 years ago

PhilippeRaven commented 2 years ago

This app is working pretty great (using it on a huawei mediapad M5 Lite for the moment). But there's no way to know when the wake word/recording is launched when the tablet has the screen off. As the app run in background, couldn't you add a feature to turn ON the screen when wake word/recording is detected ? Then we can be sure it listen to our command.

Thanks a lot !

razzo04 commented 2 years ago

The easiest route to implement this thing it’s to send a notification every time a wake word is detected but in my opinion, it’s better to have audio feedback like rhasspy did but neither are implemented at this moment but in the next version this feature will be available.

PhilippeRaven commented 2 years ago

In fact, it's because there's no sound feedback for the wake word detection that I'm asking for screen wake up :) But as you say, the best feedback is a sound ! As you turn the microphone image red when the wake word is detected, I guess it could be pretty easy for you to add a sound, don't you think ? Thanks a lot :)

razzo04 commented 2 years ago

In normal circumstances, it will require just 1 - 2 hours of works but in this case, before adding this feature I have to migrate the entire code to null safety and make other significant changes this is the drawback of using a new and fast-developing framework. In this period I don’t have much time. I will probably return to this project when something breaks in the application or to add new features implemented in rhasspy.