voice recognition on incoming call

316 views
Skip to first unread message

arnol...@gmail.com

unread,
Oct 27, 2015, 4:33:27 AM10/27/15
to Automate
Speech recognition block works on my phone version of android 4.22, however if put downstream of incoming call block, the string of recognition always null ( via log append block).
I have tried set ringer mode block to silent, even speakerphone block off, microphone block off, no use.

Automate developer

unread,
Oct 27, 2015, 2:47:44 PM10/27/15
to Automate, arnol...@gmail.com
Very few, in any, devices can recording the "In call" audio stream, for speech recognition or otherwise, since it's illegal in many countries.

arnol...@gmail.com

unread,
Oct 27, 2015, 8:28:36 PM10/27/15
to Automate, arnol...@gmail.com
Thanks, developer.
I am not trying to record the "In call" audio stream, but make my phone  answer an incoming call via recognition of my own "answer / reject" voice command in driving, though as I posted: 
if put downstream of incoming call block, the string of recognition always null

Automate developer於 2015年10月28日星期三 UTC+8上午2時47分44秒寫道:

Automate developer

unread,
Oct 27, 2015, 8:42:40 PM10/27/15
to Automate, arnol...@gmail.com
The Speech recognition block doesn't have an "audio stream" option, it always use the mic.
Does the Speech recognition block work if you're not in call, or have a call ringing?

arnol...@gmail.com

unread,
Oct 27, 2015, 9:50:19 PM10/27/15
to Automate, arnol...@gmail.com
The Speech recognition block works if not in call ( what i said shall be appended to the log), and when a call is coming, it just ignores whatever.
I programmed to loop back to the recognition block and continued talking until not null, and it always exited the loop after the call was ended.


Automate developer於 2015年10月28日星期三 UTC+8上午8時42分40秒寫道:

Automate developer

unread,
Oct 27, 2015, 10:07:06 PM10/27/15
to Automate, arnol...@gmail.com
Android probably disabled the mic from apps as soon as a call is ringing, i.e the call state isn't "idle".
Sadly there's not much i can do about that.

arnol...@gmail.com

unread,
Oct 27, 2015, 10:52:57 PM10/27/15
to Automate, arnol...@gmail.com
Thanks developer,
But it is weird, it seems to work on most phones.
Pete Glass shares a flow driving mode - motion based version which gets rated with 5 stars.

Automate developer於 2015年10月28日星期三 UTC+8上午10時07分06秒寫道:
Reply all
Reply to author
Forward
0 new messages