We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Speech to Text / Voice Recognition by Android mode(at Processing Tool)
Hello, Nice to meet you. I want to know how to do this.
Link1 : https://forum.processing.org/one/topic/speech-to-text.html
Q1) (Link1) Is this possible in an application in this way?
Link2 : https://forum.processing.org/two/discussion/2773/android-speechrecognition-class-within-processing
Q2) (Link2) Is this possible in an application in this way?
please answer about my question.
Answers
@Gwak===
as for me link 2 is better, using RecognizerIntent from android API: https://developer.android.com/reference/android/speech/SpeechRecognizer.html
needs internet permissions &record audio &&, according to docs:
"This class's methods must be invoked only from the main application thread."
so you have to make a runnable.
@akenaton,
I will try it many times. thank you.
@Gwak===
and the first link is a library which was not updated since 2014 & probably cannot work with P5 3X Android mode.
@akenaton ==
Thanks.
@akenaton ==
Not perfect, but partly successful.
Thank you.
@Gwak===
can you explain???
@akenaton ===
Hi,
Site : https://forum.processing.org/two/discussion/2773/android-speechrecognition-class-within-processing
I made it using the above sources. You only need Permission at the source.
It is an image of my application. It works well with Korean.
Great to hear that it is working! You said it is not perfect. Why is that? How would you improve it?
Kf
@kfrajer==
My final purpose is as follows.
Home Automation Project
1) You can switch on with lights on. 2) The temperature of the air conditioner can be adjusted. 3) You can kill the computer automatically. 4) You can turn on the Internet and erase it. 5) Login - You can log out.
1) to 5) is possible.
cf.
But, 6) about this problem.
6) After executing the Notepad program, insert fire text. And save.
Since the current system uses Google's API, only certain words can be inserted.
Therefore, it is conceived to shorten the time and encode through the word. In order to solve 6)