问题
Can android phone recognize a recorded voice using app inventor? I don't know how I can match my recorded voice to speech recognition to activate the alarm.
回答1:
In designer's view:
- Create a button.
- Create a speech recognizer
- Create a text to speech
In blockers' view:
- add a button-clicked
do block.Get speechRecognizer.getText
- add a speech recognizer
afterGetttingText do block.Call textToSpeech.Speak
回答2:
I don't know what app inventor is but google has an api for voice recognition. https://cloud.google.com/speech
回答3:
App Inventor has Speech Recognizer Component that uses Google services for Speech Recognition The component will convert your Speech to Text
So you can compare the text output conversion for Triggering Alarm
来源:https://stackoverflow.com/questions/44844322/voice-recognition-using-app-inventor