Make a list with speech recognition

950 views
Skip to first unread message

John Roekoe

unread,
Dec 20, 2019, 8:54:27 AM12/20/19
to MIT App Inventor Forum
It would help me if i know how to make a list by talking.
Did Button to record, Speech Recognition, text-to-speak. This works for one word.

I would like to save this word in a list (listviewer?), say another word that will be on the second place on the list. Up to 10 words.

(Later I would like to erase an item from the list by voice).

Hope you can help me.

John Roekoe

unread,
Dec 20, 2019, 9:02:12 AM12/20/19
to MIT App Inventor Forum
Edit: I press the button again to record the second word.

TimAI2

unread,
Dec 20, 2019, 9:14:06 AM12/20/19
to MIT App Inventor Forum
What have you tried so far, what you suggest is not difficult....

  1. Speech recogniser
  2. A couple of buttons
  3. List
  4. Blocks to pull them together
Message has been deleted
Message has been deleted

John Roekoe

unread,
Dec 20, 2019, 10:29:12 AM12/20/19
to MIT App Inventor Forum
Thanks for your reply.
I am rather new.

I did speech recogniser and text-to-speak
Made a button to record voice
But list: In listviewer? which one? Make list? Add to list? Another one? And do I have to insert an item with open text square in quotes? Or more? Does the list have to be in 'When do' or 'if then'?

How does my next word go the next position in the list?
How to pull blocks together? Which blocks?

SteveJG

unread,
Dec 20, 2019, 10:38:25 AM12/20/19
to MIT App Inventor Forum
This might be what you want to do John

sr.jpg



using these Blocks with a ListView.

  

srToListView.PNG



Be sure to uncheck the Speech Recognizer   Use legacy  box.

This example has only simple error control.  Experiment.  See below for resources to help you with a ListView

Merry Christmas, Wesołych Świąt,  Feliz Navidad, God Jul, Joyeux Noel, Καλά Χριστούγεννα, Happy Christmas, Veseloho Rizdva, Prettige Kerstdagen, Frohe Weihnachten!, 성탄 축하 , Buon Natale,  聖誕快樂 ,  圣诞快乐,  Sretan Božić, C рождеством!,  عيد ميلاد مجيد

Best holiday wishes,
Steve

Here are some resources to help you learn to use the AI2 tools  A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  

How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .





John Roekoe

unread,
Dec 20, 2019, 11:14:31 AM12/20/19
to MIT App Inventor Forum
Yes. This seems to be it. I wouldn't be able to come up with this and I tried tons of different combinations. Thank you!
Reply all
Reply to author
Forward
0 new messages