Voice recognition using app inventor

折月煮酒 提交于 2019-12-13 03:56:21

问题


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:

  1. Create a button.
  2. Create a speech recognizer
  3. Create a text to speech

In blockers' view:

  1. add a button-clicked do block.Get speechRecognizer.getText
  2. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!