dicio-android icon indicating copy to clipboard operation
dicio-android copied to clipboard

Stuck Downloading Vosk and Questions

Open whitedavidp opened this issue 2 years ago • 1 comments

Just installed on my Android 9, LG phone from Play Store. I try repeatedly to download Vosk and it just spins and spins. So I cannot even answer these questions about the mechanism:

  1. can this work entirely offline?
  2. is there a level of interactivity? for example, I want to call a contact and that contact has multiple phone numbers. how do I choose the one I want for this call?
  3. is there some way (via root would be fine for me) to trigger voice recognition outside of the app? for example by pressing BT headset button, firing off an intent, etc.

I hope I can find this all out.

Thanks

whitedavidp avatar Oct 05 '23 23:10 whitedavidp

1. can this work entirely offline?

Yes, if you have downloaded correctly the Vosk model and your TTS engine work offline. I have used it in airplane mode.

2. is there a level of interactivity? for example, I want to call a contact and that contact has multiple phone numbers. how do I choose the one I want for this call?

Low, but in the case you have listed you can tell "the second one" and Dicio will call the second contact listed.

3. is there some way (via root would be fine for me) to trigger voice recognition outside of the app? for example by pressing BT headset button, firing off an intent, etc.

The question is not clear, you can use Dicio from a keyboard for example AnySoftKeyboard, but is still experimental in my usercase. You can call Dicio pressing for 2-3 seconds the circle button on your launcher. Dicio actually donìt have a recognition word like Hey Google or Alexa or Bixbi.

About the problem on downloading of the vosk model, please send log. Without a log/error message nobody can help you. Maybe try to reinstall, give all the permissions and then download the model.

paolo-caroni avatar Feb 22 '24 14:02 paolo-caroni

The Vosk issue should be fixed in the latest release (1.0).

Thanks for answering the questions paolo-caroni!

Stypox avatar Jul 14 '24 08:07 Stypox

Thanks for your responses. I don't know why I wasn't informed of them until today...

  1. is there a level of interactivity? for example, I want to call a contact and that contact has multiple phone numbers. how do I choose the one I want for this call?

Low, but in the case you have listed you can tell "the second one" and Dicio will call the second contact listed.

So would I say "call Joe Blow mobile" vs "call Joe Blow home" or "call Joe Blow work"? That would be great!

3. is there some way (via root would be fine for me) to trigger voice recognition outside of the app? for example by pressing BT headset button, firing off an intent, etc.

The question is not clear, you can use Dicio from a keyboard for example AnySoftKeyboard, but is still experimental in my usercase. You can call Dicio pressing for 2-3 seconds the circle button on your launcher. Dicio actually donìt have a recognition word like Hey Google or Alexa or Bixbi.

Sorry for not being clear. I thought I was... Can I trigger voice recognition via my BT headset's button (with a long press, for example)? Can I have an app sent an intent that will trigger voice recognition? I don't want a recognition word at all. I don't want it "listening" all the time.

Thanks

whitedavidp avatar Jul 14 '24 16:07 whitedavidp

Can I trigger voice recognition via my BT headset's button (with a long press, for example)?

That has been implemented in v1.1 (#228), please check if it works!

Can I have an app sent an intent that will trigger voice recognition?

Yes, you can use the ACTION_ASSIST and ACTION_VOICE_COMMAND intents

Stypox avatar Aug 21 '24 08:08 Stypox