Hi Martin,
Congratulations on a brilliant piece of software ... I literally use it 12 hours a day to voice control my galaxy s9+
Hopefully you may have a suggestion that resolves my problem with the Input Speech action.
I have a main flow that uses Input Speech in a repeating loop to listen for user voice input. It works brilliantly and I have full voice control of my phone.
Here is the problem:
As long as the Input Speech action can "hear" any kind of background audio through the microphone,
whether speech or just random audio/noise, it will "trigger" and try to process what it has "heard".
So far so good.
However, if there is NO speech or back background noise/audio (e.g. a very quiet room), then after approx. 3 mins, Input Speech action freezes completely and will no longer respond to any audio.
At this point I have to Stop Service ... Start Service ... then execute the Input Speech flow once again.
Except for that minor glitch, I have FULL voice control over my phone.
Any suggestions ?
Thanks in advance.
Input Speech action
Moderator: Martin
Re: Input Speech action
Which S9+ do you use? Exynos or Snapdragon?
Input speech also freeze intermittently at mine, even though not looped. It just rarely stuck and need to restart automagic service as you do. Can't find the pattern yet and I am not continuing the flow yet.
If you need to have it always listening in background, better use additional plugin : Hotword Triggers, you can find it at xda, and I ever requested it too :viewtopic.php?f=4&t=7197
The Dev has revamp the app and now we can use it without having to turn off again. So basically that request is outdated. It probably takes quite long to implement this built-in, so I would rather that time is spent for other features instead of reinventing the wheel. Better use Hotword triggers in this case.
You can define your hotword, which will then trigger the flow and start the input speech to receive another command. That way, your flow won't running all the time, only when the hotword is triggered. Better battery life, less background noise. AFAIK, It works best with the snapdragon version, since it has hexagon DSP hardware to process it.
Input speech also freeze intermittently at mine, even though not looped. It just rarely stuck and need to restart automagic service as you do. Can't find the pattern yet and I am not continuing the flow yet.
If you need to have it always listening in background, better use additional plugin : Hotword Triggers, you can find it at xda, and I ever requested it too :viewtopic.php?f=4&t=7197
The Dev has revamp the app and now we can use it without having to turn off again. So basically that request is outdated. It probably takes quite long to implement this built-in, so I would rather that time is spent for other features instead of reinventing the wheel. Better use Hotword triggers in this case.
You can define your hotword, which will then trigger the flow and start the input speech to receive another command. That way, your flow won't running all the time, only when the hotword is triggered. Better battery life, less background noise. AFAIK, It works best with the snapdragon version, since it has hexagon DSP hardware to process it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 3
- Joined: 04 Feb 2019 08:16
Re: Input Speech action
Hi and thanks for the quick reply.
My S9+ is using exynos.
At 1st I thought Input Speech action was just randomly freezing but a little experimentation and observation answered the question.
As long as there is some kind of background noise, then IS continues to listen and respond if necessary. But if there is complete silence in the phones environment, then after a number of minutes (approx 3 - 5), it freezes and becomes completely unresponsive ... at which time a service stop/restart has to be done.
Thanks for the info on the plugin. I'll give it a try.
My S9+ is using exynos.
At 1st I thought Input Speech action was just randomly freezing but a little experimentation and observation answered the question.
As long as there is some kind of background noise, then IS continues to listen and respond if necessary. But if there is complete silence in the phones environment, then after a number of minutes (approx 3 - 5), it freezes and becomes completely unresponsive ... at which time a service stop/restart has to be done.
Thanks for the info on the plugin. I'll give it a try.
Re: Input Speech action
At mine as I remember it, it is caused by bad internet connection. Sometimes the IS just don't send the detected voice for recognition. Have tried to use offline mode, but the recognition has bad accuracy in offline mode.
I will give it more tests when I am back with the flow. I am supposed to finish other flow first, and again, distracted to create some fancy show up flow again
I will give it more tests when I am back with the flow. I am supposed to finish other flow first, and again, distracted to create some fancy show up flow again

Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.