Im looking at my options for adding voice control to my AI app. Is it possible to use Google Speech Recognition API with App Inventor? If so, how? Speech Recognizer component is not the same, correct?
--
App Inventor uses the original Google Speech recognizer. It can not do all the bells and whistles possible in the full API.
Here is what you can do with AI2:
SpeechRecognizer
Use a speech recognizer component to listen to the user speaking and convert the spoken sound into text using Android's speech recognition feature.
Properties
Result
- The last text produced by the recognizer.
Methods
GetText()
- Asks the user to speak, and converts the speech to text. Signals the
AfterGettingText
event when the result is available.
Events
AfterGetting(Text result)
- Signaled after the recognizer has produced text. The argument is the text result that was produced.
BeforeGettingText()
- Signaled just before the recognizer is called.
댓글 없음:
댓글 쓰기