Stypox / dicio-android

Dicio assistant app for Android
GNU General Public License v3.0
652 stars 64 forks source link

[FR] verbal dialog mode + STOP word #155

Open ildar opened 1 year ago

ildar commented 1 year ago

as skills number is growing the time is near when a dialog may be appropriate:

  1. get verbal input
  2. execute
  3. TTS the result outloud
  4. Turn the mic ON for the next command.
  5. If no command given, turn off the mic after timeout

Also very important is: when TTS-ing the result, listen for the user. If he (she) says STOP then stop the TTS.

Stypox commented 1 year ago

I am not sure I understand how "skill number is growing" is related to "it may be appropriate to turn the mic on for the next command". Turning the mic on automatically is already done when skills ask for more input, e.g. the telephone asking for confirmation.

Adding a simple switch to enable/disable automatic mic turn on, and a simple "stop" skill, should be simple enough.

ildar commented 1 year ago

Hi!

how "skill number is growing" is related to "it may be

I mean a user may want to ask things from Dicio in sequence. That's what the switch to enable/disable automatic mic turn on is for.

simple "stop" skill

Not quite what I mean. I mean a possibility to stop the current Dicio talking by saying "Stop". I.e. it should work while another skill is still working, not after.

Thanks.

nils-se commented 1 year ago

I agree with the ideas. My understanding to clarify:

Enhancement A: After one voice command finished, Dicio should listen a little while, if the user wants so interact more.

Example:

Counterpoint: This could be not necessary, when a wakeword is implemented. Maybe a wakeword is even better, because if I talk to someone, dicio may be listening right after the navigation started and interrupt our conversation.

Enhancement B: Stop word Sometimes voice commands get picked up wrong. If so, I don't want to listen to the whole output but try again as soon as possible.

Example: