vosk-android-service icon indicating copy to clipboard operation
vosk-android-service copied to clipboard

Wakeword service

Open nshmyrev opened this issue 3 years ago • 3 comments

https://medium.com/picovoice/no-way-google-build-your-own-wake-word-service-on-android-339a0189ff4c

nshmyrev avatar Jan 21 '22 22:01 nshmyrev

It seems like this is a privilege of system apps in Android 12 :(

The impact of these changes is as follows:

  • Nonsystem apps using the AlwaysOnHotwordDetector class fail to compile against the Android 12 API because the API was removed from the public surface.
  • Existing system apps using the AlwaysOnHotwordDetector class might be denied from using sound trigger features at runtime. To address this issue and allow these apps to access the microphone through sound trigger, declare the RECORD_AUDIO and CAPTURE_AUDIO_HOTWORD permissions for these apps.

https://source.android.com/setup/start/android-12-release#alwaysonhotworddetector

WuerfelDev avatar Feb 20 '22 17:02 WuerfelDev

If I am not mistaken, the purpose of this app is to provide a system STT on android. the wakeword service is required for voice assistants, such as "dicio", which are an app that uses STT (and in this specific case implements an internal STT instead of using the system one). Imho vosk-android-service must not use wakeword.

paolo-caroni avatar Feb 25 '22 08:02 paolo-caroni

Close issue as offtopic

Doomsdayrs avatar Sep 11 '22 20:09 Doomsdayrs