Hi
How can I use input Speech (experimental) action.
Give me any examples.
Thanks in advance.
Input Speech
Moderator: Martin
Input Speech
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Input Speech
Just add that action. After that the recognized text will be in {value}, use this in your other flow, example just speech output, using this {value}.
Usually this will require Google app to be installed and updated at your phone. Google Play services probably need to be updated too.
As a good practice, you can put an expression after the input speech
True, continue to your main flow. False, loop back to the input speech. It will loop back to the input speech if it fails to recognize the speech. You can also put another condition after it : execution count, 5 times. So if it fails 5 times, the loop is stopped.
Another thing to remember is sometimes the recognized speech can be in capital. So most of the time, you have to convert it to lower case first to make sure the comparison is correct (if you compare the value)
Usually this will require Google app to be installed and updated at your phone. Google Play services probably need to be updated too.
As a good practice, you can put an expression after the input speech
Code: Select all
operation == "ok"
Another thing to remember is sometimes the recognized speech can be in capital. So most of the time, you have to convert it to lower case first to make sure the comparison is correct (if you compare the value)
Code: Select all
value = toLowerCase(value);
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.
Re: Input Speech
Hi Desmanto
Thanks for your help.
I have created this flow. This is working.But I want to use multiple words. How can I?
Thanks for your help.
I have created this flow. This is working.But I want to use multiple words. How can I?
- Attachments
-
- flow_Voice_input.xml
- (1.96 KiB) Downloaded 700 times
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Input Speech
You mean if you want to let it to evaluate a sentence?
Just try adding words between the quotes to evaluate.
Just try adding words between the quotes to evaluate.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: Input Speech
Hi DIGITALSTONE
Thanks
Thanks
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1