# Lost sound Issue after using Speech Recognizer on iOS app

**URL:** <https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708>\
**Category:** Questions about Thunkable X\
**Tags:** texttospeech, sound, speechrecognizer\
**Created:** [July 26, 2018, 1:59pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708 "2018-07-26T13:59:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [July 26, 2018, 1:59pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/1 "2018-07-26T13:59:35Z")

</div>

I have built a very simple app to test the function of Speech Recognizer + Text to Speech on iOS Thunkable app. But I have found after using the Speech Recognizer, it can recognize and show the speech in the text format, but after that, the whole app lost the sound. I cannot play a sound and cannot use Text to Speech. However, Speech Recognizer is still working fine. It’s so weird. I have attached the app design and a short demo video here.

[Click here to see the Demo on Youtube](https://www.youtube.com/watch?v=5fLokxIopG0)

 ![QQ%E6%88%AA%E5%9B%BE20180726094655](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/7087108555e0664a197322044c045a6e2c21c906.jpg)  
 ![QQ%E6%88%AA%E5%9B%BE20180726095855](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/b/eb26469b7ce5ef89ad8c36e4d363416a3d3f3e49.jpg)

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [July 26, 2018, 2:04pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/2 "2018-07-26T14:04:51Z")

</div>

I had the same problem with a test app for translation. First recognize speech. Then translate. Showtext of translation. Works.  
But then text to speech of that translated text did not work (on IOS).

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [July 27, 2018, 7:29am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/3 "2018-07-27T07:29:13Z")

</div>

Hello Rollke  
Dinto from the Netherlands here😉  
Like your tutorial on Speech Recognizer.  
I was thinking; is the third button( Recognizer and show) a good one to build an to do list?? Were you can just say somthing and it will show up in a list… in your example the word changes every time you say something new.  
Could you help me out with that one?😊  
Thanks in advance  
Dinto

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [July 28, 2018, 6:43am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/4 "2018-07-28T06:43:31Z")

</div>

> [@Dinto](#):
>
> Hello Rollke  
> Dinto from the Netherlands here😉  
> Like your tutorial on Speech Recognizer.  
> I was thinking; is the third button( Recognizer and show) a good one to build an to do list?? Were you can just say somthing and it will show up in a list… in your example the word changes every time you say something new.  
> Could you help me out with that one?😊  
> Thanks in advance  
> Dinto

Yes, it’s not hard. Take a look at this one. 🤣

[https://x.thunkable.com/copy/1edf2c29c52d74105dd6ad6853fd9641](https://x.thunkable.com/copy/1edf2c29c52d74105dd6ad6853fd9641)

 ![QQ%E6%88%AA%E5%9B%BE20180728024201](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/0/a07dead7cf648962e36c5fdbddde1900b2a075c3.jpg)

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [July 29, 2018, 7:09am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/5 "2018-07-29T07:09:41Z")

</div>

Hi Linchenyu  
I will give it a try, and let you know of it works!😃  
Thank you very much for your help  
Regards, Dinto

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [July 30, 2018, 1:00pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/6 "2018-07-30T13:00:04Z")

</div>

Hi Linchenyu  
It works!  
But the next problem emerce…  
I know i have to use local storage to store my list.  
Because if i close the app and go in again, my list is not stored.  
Lets see if i can do this one on my own😉  
Thanks again

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [August 1, 2018, 1:08am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/7 "2018-08-01T01:08:47Z")

</div>

If you are still working on it and need some help, you can refer to this one: [https://x.thunkable.com/copy/74ff78cce23aa64016a86729c06fbe26](https://x.thunkable.com/copy/74ff78cce23aa64016a86729c06fbe26)

I also want to add a language changing function, but unfortunately current Thunkable Cross doesn’t support the list picker function yet. They are developing it now. So if you want to change the language, you can modify it in Speech Recognizer block.

Good luck.

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [August 2, 2018, 8:29am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/8 "2018-08-02T08:29:31Z")

</div>

Hi Linchenyu  
Thanks alot!  
Thats a good function!  
Thats a function i could add later…

what i am trying to do is the following, if i can make a shopppinglist app, i could make a note taking app, or implement these two together…  
Something like this:

  
I tried to make this one but then with local storage, but it wouldn’t work in ios

Thanks for helping!  
Regards, Dinto

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2018, 10:25am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/9 "2018-08-02T10:25:50Z")

</div>

There is no Picker component in Thunkable X, but it’s easy to do it

[https://x.thunkable.com/projects/5b62d0e9b65dfbf442303dff/project/properties/designer/](https://x.thunkable.com/projects/5b62d0e9b65dfbf442303dff/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2018, 10:27am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/10 "2018-08-02T10:27:24Z")

</div>

Hi,

You want to say that on iOS does not work Local Storage? Can you give an example of this?

Alex

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [August 2, 2018, 11:15am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/11 "2018-08-02T11:15:42Z")

</div>

Hi Actech  
I didn’t got it working🙁  
I wanted to build an todolist;  
Write an item down, save it, ( if i didn’t want the item, delete it) close the app ( entirely) go in the app, and see my items i wrote before…  
Couldn’t fix that a few months ago, aks around on the forum, but didn’t got the right anwsers

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [August 2, 2018, 3:58pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/12 "2018-08-02T15:58:14Z")

</div>

Thanks actech,

That’s an interesting way to do it. I learned a lot. Thanks

And could you take a look at my original question (the first post)? Do you have an insight why after I use Speed Recognizer, the APP lost the entire sound?

Thanks

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 2, 2018, 4:02pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/13 "2018-08-02T16:02:54Z")

</div>

I remembered, a similar problem was with me. I’ll try to look at it again and look for a solution.

I have one thought about a workaround for solving the problem.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 3, 2018, 6:14am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/14 "2018-08-03T06:14:58Z")

</div>

The situation looks something like this. When the text recognition unit is executed, the sound engine is captured, as a result of which the application completely disrupts its operation with the impossibility of even changing the volume with the buttons on the device (as has been reported for a long time). Play sounds after that can only be using an external browser.

I see such a solution - do not use the speech recognition component yet and try to implement it using web-technologies.

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [August 3, 2018, 5:31pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/15 "2018-08-03T17:31:52Z")

</div>

> [@actech](#):
>
> The situation looks something like this. When the text recognition unit is executed, the sound engine is captured, as a result of which the application completely disrupts its operation with the impossibility of even changing the volume with the buttons on the device (as has been reported for a long time). Play sounds after that can only be using an external browser.
> 
> I see such a solution - do not use the speech recognition component yet and try to implement it using web-technologies.

Got you. Thanks for the explanation. So you think without using speech recognizer, maybe use “Assistant” or “Translator” is better? Or what other web tech do you suggest?

Thanks. @rollke

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 3, 2018, 11:45pm UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/16 "2018-08-03T23:45:59Z")

</div>

I’m trying to use SpeechSynthesisUtterance to play speech in the browser, but the problem is that it works well in WebViewer, but does not work in Safari’s external system browser.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 4, 2018, 12:49am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/17 "2018-08-04T00:49:35Z")

</div>

I got this solution - speech recognition in the application and playback it in the system browser using a php script on my server.

If your sound does not play on iOS, try setting the soft-mute function on the device.

[https://x.thunkable.com/projects/5b03cdb32cea8000015413b8/project/properties/designer/](https://x.thunkable.com/projects/5b03cdb32cea8000015413b8/project/properties/designer/)

```
<?
if(isset($_GET["data"])){
	$data = $_GET["data"];
	echo "$data<br>";
?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<input type="button" value="Speak" onClick="speak()">
<script>
function speak(){
	
var msg = new SpeechSynthesisUtterance(); 
    msg.text = "<?=$data?>";
	window.speechSynthesis.speak(msg);
}
</script>
<?
}
?>
```

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [August 4, 2018, 1:16am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/18 "2018-08-04T01:16:11Z")

</div>

Hi DInto,

Do you want the app like this one? It’s not very hard to build. And I can add more functions to it, such as delete individual task or group by date. Let me know if you need more functions. I will try my best to add them.

[https://x.thunkable.com/copy/3738c1cca4e743ef4de0885b7da85eb7](https://x.thunkable.com/copy/3738c1cca4e743ef4de0885b7da85eb7)

Good Luck.

---

<div class="post-metadata">

**Author:** ![linchenyu](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@linchenyu](https://community.thunkable.com/u/linchenyu)\
**Post date:** [August 4, 2018, 1:26am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/19 "2018-08-04T01:26:17Z")

</div>

I saw how it works. It works fine but not that using friendly. I hope Thunkable can fix the issue in the near future. And I will try “Assistant” and “Translator” to see if there is anything different.

Thanks again.

---

<div class="post-metadata">

**Author:** ![Dinto](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Dinto](https://community.thunkable.com/u/Dinto)\
**Post date:** [August 4, 2018, 9:05am UTC](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708/20 "2018-08-04T09:05:32Z")

</div>

Hi Linhenyu.  
This is great!!  
I don’t even have to ask 😄  
Thanks a 100 times for helping out…  
At the moment I was looking in to another app I am making.  
But I will take a look tomorrow, and try to see if I can make the app I waant to build!  
Again thanks for helping out.  
Regards, Dinto

[Next page](https://community.thunkable.com/t/lost-sound-issue-after-using-speech-recognizer-on-ios-app/37708.md?page=2)
