# How to build simple speech recognition app in the new Thunkable layout

**URL:** <https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525>\
**Category:** Questions about Thunkable X\
**Created:** [April 26, 2021, 1:56pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525 "2021-04-26T13:56:36Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![max.breitspf](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/max.breitspf/32/102664_2.png) [@max.breitspf](https://community.thunkable.com/u/max.breitspf)\
**Post date:** [April 26, 2021, 1:56pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/1 "2021-04-26T13:56:36Z")

</div>

Hi community,

I’m very new to Thunkable and I’m struggling to use the speech recognition capability in the new Thunkable layout. I want to build a simple app, where:

- User can click on a button which triggers speech recognition to start
- When users speech included the word “left” → a previously hidden left label appears
- When users speech included the word “right” → a previously hidden right label appears

Now of course I tried to look for example apps, tutorials etc. using Speech recognition, but I could only find implementations using the “Speech recogniser” voice blocks in the old layout. In the new layout I can only find a block called “recognised speech in …”, but no example apps or tutorials on how to use it. And I’m struggling to figure it out by myself.

If anyone could point me in the right direction, I would be very thankful 🙂 . Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [April 26, 2021, 2:16pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/2 "2021-04-26T14:16:13Z")

</div>

# 

Recognize Speech

Recognize a piece of audio in a given language. Returns a text transcription of the speech.

![](https://gblobscdn.gitbook.com/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MJWkxfX4gze6PVxiJfU%2F-MJWlN56a4-94ZA3MBOG%2Fimage.png?alt=media&token=e03ccb62-3123-4cdb-b040-9a61692e7471)

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [April 26, 2021, 2:32pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/3 "2021-04-26T14:32:09Z")

</div>

My Speech recognition app in New UI  
 ![圖片](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7bf5c4772e74a04a2dbbc4cfecbde38aea449dd2.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 26, 2021, 3:05pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/4 "2021-04-26T15:05:36Z")

</div>

I tried to make voice commands work and couldn’t. Maybe you’ll have success but I couldn’t find a way. You can right-click on some of the blocks to toggle advanced options. The documentation is limited but available here:

[https://docs.thunkable.com/v/drag-and-drop/speech#recognize-speech](https://docs.thunkable.com/v/drag-and-drop/speech#recognize-speech)

---

<div class="post-metadata">

**Author:** ![max.breitspf](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/max.breitspf/32/102664_2.png) [@max.breitspf](https://community.thunkable.com/u/max.breitspf)\
**Post date:** [April 26, 2021, 7:03pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/5 "2021-04-26T19:03:26Z")

</div>

Hi @tony.ycy.program , many thanks for posting your solution.

I tried to implement it exactly as you did, but it seems not to work for me: [Thunkable](https://x.thunkable.com/copy/8fd950d1f33f98890bc634d292fceade)

Problem is, that when I press the Start button, nothing happens (both in preview and Thunkable Live). Do you have any ideas what could be the problem? Or do you have a link to your solution for me to test your solution on my phone?

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [April 27, 2021, 10:21am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/6 "2021-04-27T10:21:36Z")

</div>

Yeah, it’s not work!  
`BUT` First test(1st open) It can show

 ![圖片](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b7b923a0437aa4b2edd06b63ce0b82aa82f5ea58.jpeg)

---

<div class="post-metadata">

**Author:** ![max.breitspf](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/max.breitspf/32/102664_2.png) [@max.breitspf](https://community.thunkable.com/u/max.breitspf)\
**Post date:** [April 27, 2021, 10:56am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/7 "2021-04-27T10:56:25Z")

</div>

Hi @tony.ycy.program ,

many thanks for your reply. After your message I retested and you are right. It seems to work for the first open attempt and when I speak directly in the microphone. Then it seems to capture the first 2 seconds. So have many thanks for your help, your solution solved it.

However, as a feedback for the Thunkable team I want to mention that the quality of the speech recogniser is so bad, that it not or only barely usable (at least for me):

- It only works on 1st open attempt of the app
- I need to speak directly into the microphone
- It only records the first 2 seconds maximum
- And even then it only worked like 50% of the time for me.

---

<div class="post-metadata">

**Author:** ![drenton72k4](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@drenton72k4](https://community.thunkable.com/u/drenton72k4)\
**Post date:** [October 28, 2021, 11:21pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/8 "2021-10-28T23:21:57Z")

</div>

This is my experience too has anyone found a solution to it?  
It only works once, then I have to actually kill the ios app and reload it for it to work again.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 29, 2021, 12:31am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/9 "2021-10-29T00:31:13Z")

</div>

Please post a link to a project that demonstrates this issue.

---

<div class="post-metadata">

**Author:** ![drenton72k4](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@drenton72k4](https://community.thunkable.com/u/drenton72k4)\
**Post date:** [October 29, 2021, 3:17am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/10 "2021-10-29T03:17:33Z")

</div>

A link to demonstrate that it doesn’t work? Isn’t it a known bug? I have multiple students trying it and it’s the same thing. It only works the first time you run it on the phone and then you have to kill the app before speech recognition will work again.  
Here’s a link on screen 1 of this test app  
[https://x.thunkable.com/copy/c644bec6708ee86fc05b7a129ccfda88](https://x.thunkable.com/copy/c644bec6708ee86fc05b7a129ccfda88)

---

<div class="post-metadata">

**Author:** ![drenton72k4](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@drenton72k4](https://community.thunkable.com/u/drenton72k4)\
**Post date:** [October 29, 2021, 3:18am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/11 "2021-10-29T03:18:42Z")

</div>

What max.breitspf said back in April still stands, the issue hasn’t been resolved.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 29, 2021, 3:27am UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/12 "2021-10-29T03:27:04Z")

</div>

It’s your first post on the forums and we get all flavors of users… some are very young kids, some are retired professionals… it’s hard to know what you’ve tried, etc. when details like that aren’t provided. People often write “I’m having the same problem” but when they show their blocks/project, it’s quite different than what was explained earlier in the topic.

But I can confirm that the speech recognition only works once in your project. If I Live Test on an iPhone, it recognizes and displays the speech once. But after that, it seems to ignore the event. I even tried it with the advanced version of the block and it failed similarly and did not display an error nor speech results.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/d/fd6be4f76ecea15e8b2de9d8834a4bce240f6eec.png)

I would recommend submitting a [bug report](https://docs.thunkable.com/bugs-and-feature-requests) even though it’s been documented here. You can link to this topic/post.

---

<div class="post-metadata">

**Author:** ![f510b22377bf48](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@f510b22377bf48](https://community.thunkable.com/u/f510b22377bf48)\
**Post date:** [January 7, 2022, 5:41pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/13 "2022-01-07T17:41:20Z")

</div>

Did this ever get resolved?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 7, 2022, 7:52pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/14 "2022-01-07T19:52:03Z")

</div>

It doesn’t look like it but it was reported as a bug:

> <https://github.com/thunkable/thunkable-issues/issues/1046>
>
> Thanks so much for filing an issue or feature request! Please fill out the follo…wing (wherever relevant):
> 
> The more info, the faster we will be able to address it!
> 
> \### Platform
> Does this affect:
> Drag and Drop UI - web?
> Drag and Drop UI - Android?
> Drag and Drop UI - iOS?
> \*\*All of the above\*\*
> 
> \### Steps to Reproduce
> 1. Use speech recognition
> 2. Test it on the app on ios using a button
> 3. It will work the first time and not the second time, the only way to get it to work again is to kill the app.
> 
> \### Expected Behavior
> What did you expect to happen?
> 
> \### Actual Behavior
> What actually happens?
> 
> \### Project Link
> Link to a project copy that shows this behaviour. This is important because most times we cannot reproduce the issues reported just with the list of steps, so please do provide this.
> 
> \###Community Link
> If there's an ongoing discussion about this behavior in the Community, please link to it here
> 
> \`\`\`
> STACK TRACE AND/OR SCREENSHOTS
> \`\`\`

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/how-to-build-simple-speech-recognition-app-in-the-new-thunkable-layout/1246525/15 "2024-11-08T13:22:54Z")

</div>


