Lei
Lei

Reputation: 1

Voice recognition using app inventor

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.

Upvotes: 0

Views: 3319

Answers (3)

Ela Cai
Ela Cai

Reputation: 21

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

enter image description here

Upvotes: 1

Vincy Dsilva
Vincy Dsilva

Reputation: 11

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

Upvotes: 0

kpie
kpie

Reputation: 11110

I don't know what app inventor is but google has an api for voice recognition. https://cloud.google.com/speech

Upvotes: 0

Related Questions