# Adding Speech Recognizer in DnD

**URL:** <https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671>\
**Category:** Questions about Thunkable X\
**Created:** [February 25, 2022, 9:01pm UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671 "2022-02-25T21:01:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 25, 2022, 9:01pm UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/1 "2022-02-25T21:01:35Z")

</div>

Just want to add a speech recognizer component in DnD. How do I do it ? I click on Speech in the sidebar and I see this stuff:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/45991a775256b52aaac26eebdf4a2b065efdb275.png)

But I need to get an instance of speechrecognizer. What am I missing ? Feels unintuitive to me tbh.

---

<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:** [February 25, 2022, 9:07pm UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/2 "2022-02-25T21:07:13Z")

</div>

Right-click on the “recognized speech” block and choose “Show advanced block.” Then you’ll see what is shown in the documentation:

> **[Speech Recognizer](https://docs.thunkable.com/speech-recognizer)**

---

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 26, 2022, 12:37am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/3 "2022-02-26T00:37:51Z")

</div>

Thanks for taking the time to reply @tatiang

I have to say even your instructions didn’t immediately make sense. This has to be one of the most un-intuitive things going:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0ca0ea3913634e6ec2c08673ba44304e37a25e3e.png)

Left Click Speech #1 then right-click on Recognized Speech in blah #2 to get the advanced tab.

Think about it - **without** the advanced tab showing and then having the block to allow start listening or whatever, the block that is there by default is the ‘recognized speech…’ - but there’s no way to use that block unless you have gone to the advanced tab.

---

<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:** [February 26, 2022, 12:42am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/4 "2022-02-26T00:42:21Z")

</div>

It sounds like you’re new to Thunkable and like every product, it has a learning curve. The “recognized speech” block will work just fine if you attach it to a label, for example. It listens and then returns the value it recognizes. It’s just a shortcut vs. the advanced block that takes more effort to do the same thing.

A while ago, the “advanced” version of the blocks were the default. Thunkable made a decision to simplify some of the blocks. I assume they did that to help new users feel more comfortable with the product. A lot of users get thrown off by the green “error” blocks, for example.

I much prefer the “advanced” blocks myself.

---

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 26, 2022, 12:49am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/5 "2022-02-26T00:49:11Z")

</div>

> [@tatiang](#):
>
> The “recognized speech” block will work just fine if you attach it to a label, for example

I did try that and I couldn’t get it to work - hence my desire to look for the ‘Start listening’ block - thinking that that is what I needed.

> [@tatiang](#):
>
> A while ago, the “advanced” version of the blocks were the default. Thunkable made a decision to simplify some of the blocks. I assume they did that to help new users feel more comfortable with the product. A lot of users get thrown off by the green “error” blocks, for example.

Interesting. On the assumption that was the reason, or at least part of it, this will result in a lot more questions when something goes wrong.

> [@tatiang](#):
>
> I much prefer the “advanced” blocks myself.

Agreed. And they are really not advanced anyway tbh

---

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 26, 2022, 1:03am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/6 "2022-02-26T01:03:27Z")

</div>

Apologies, I meant DnD - this dual UI thing is confusing.

So, this is what I have. All I want to do is to display text of what has been spoken:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/f/8fe890bcecde159a71586a8297437926ee3b186f.png)  
So all I get is ‘undefined’ as the caption of the label (web page in web viewer using the js bridge) immediately and no ‘tone’ to indicate start of listening.

Any ideas ?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 26, 2022, 1:17am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/7 "2022-02-26T01:17:23Z")

</div>

😉  
try this @collabor8te.projectq  
 ![Screen Shot 2022-02-25 at 8.13.47 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/c/ccc4ff1f41a446cd97f571b0cbec285737fb6840.png)

It’s an odd block and i’ll try to update the docs this coming week to make it more clear. how to use this.

---

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 26, 2022, 1:35am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/8 "2022-02-26T01:35:27Z")

</div>

Ok thanks.

Next problem is that the label now displays **‘…needs permission to record audio’**. I cannot locate where to state that the app needs this permission - checked in the app settings etc but I assume it is supposed to be in the build from Thunkable as I’m using the speech recognizer correct ?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 26, 2022, 1:47am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/9 "2022-02-26T01:47:13Z")

</div>

You probably need to enable it via the app settings on your phone. When I use this block it asked me for permission to use the speech recognize her. I’m using an iOS device if that is relevant.

---

<div class="post-metadata">

**Author:** ![collabor8te.projectq](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@collabor8te.projectq](https://community.thunkable.com/u/collabor8te.projectq)\
**Post date:** [February 26, 2022, 2:02am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/10 "2022-02-26T02:02:02Z")

</div>

I did try that and it is interesting (Android) that:

1. I didn’t get asked during install
2. In app permissions there is nothing for speech recognition - only ‘Files and Media’ so allowed that. Other than that there is only ‘Location’ and ‘Phone’. With all 3 of those permissions on, still no joy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 27, 2022, 2:02am UTC](https://community.thunkable.com/t/adding-speech-recognizer-in-dnd/1755671/11 "2022-05-27T02:02:13Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
