# Hit and miss with google text-to-speech

**URL:** <https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924>\
**Category:** Get Help\
**Created:** [April 23, 2024, 2:13pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924 "2024-04-23T14:13:14Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 23, 2024, 2:13pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/1 "2024-04-23T14:13:14Z")

</div>

Hey everyone! I am trying to smoothly translate text to speech using google. Sometimes i get the correct response from my custom action and sometimes i dont. Im firstly converting prompts into a Chat GPT AI response then converting that text ( the AI response ) into Text-to-speech. but id say it only works maybe 40% of the time. The response im getting from the Google text-to-speech AI doesnt allow me to play any audio . Im out of ideas to try and figure what the issue is. Anyone help a guy out?

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [April 26, 2024, 7:16am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/2 "2024-04-26T07:16:26Z")

</div>

What kind of length are the texts? Could it be a timeout issue?

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 26, 2024, 9:33am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/3 "2024-04-26T09:33:57Z")

</div>

Hey, thanks for the reply! Audio would run for about 2 mins if completed

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [April 26, 2024, 12:40pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/4 "2024-04-26T12:40:46Z")

</div>

Do you have 2 custom actions, 1 for chatgpt and 1 for the google tts? If so, do you know if chatgpt is always working?

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 26, 2024, 1:40pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/5 "2024-04-26T13:40:19Z")

</div>

I have separate actions, so an action for chat GPT, then a screen ( kind of a place holder ) to display the text. Then an action on the screen to sent the text to TTS. My chat GPT always works fine

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [April 27, 2024, 5:29am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/6 "2024-04-27T05:29:51Z")

</div>

I didn’t use Google TTS, but is there a way to see incoming requests from the Google side? It might be worth using a free account on Xano to make the API call for testing purposes, and see if some of the requests are timing out, or if another error is being encountered.

---

<div class="post-metadata">

**Author:** ![edenwheeler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/edenwheeler/32/33911_2.png) [@edenwheeler](https://forum.adalo.com/u/edenwheeler)\
**Post date:** [April 27, 2024, 10:18am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/7 "2024-04-27T10:18:49Z")

</div>

Thanks theadaloguy

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 27, 2024, 3:56pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/8 "2024-04-27T15:56:21Z")

</div>

Sorry for the late reply dude, crazy day! I’m unsure, I’m new to using google TTS only started incorporating it into my app maybe last week. What is Xano?

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [April 27, 2024, 4:09pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/9 "2024-04-27T16:09:21Z")

</div>

Xano is a no code back end tool. You can also use something like postman to send requests. You need something where you can see the error codes

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 27, 2024, 6:46pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/10 "2024-04-27T18:46:47Z")

</div>

Ah got yah! So xano runs in the background to  
Help run the app and will show you errors?

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [April 28, 2024, 6:43am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/11 "2024-04-28T06:43:33Z")

</div>

Some people use Xano as the back end instead of using Adalo database. In this case I’m just suggesting you test out your API calls there, so you can diagnose the issue better.

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 28, 2024, 8:29am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/12 "2024-04-28T08:29:05Z")

</div>

That sounds awesome, I’ll give it try! Thank you ❤

---

<div class="post-metadata">

**Author:** ![deevalicious](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/deevalicious/32/9828_2.png) [@deevalicious](https://forum.adalo.com/u/deevalicious)\
**Post date:** [April 28, 2024, 7:36pm UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/13 "2024-04-28T19:36:46Z")

</div>

Look into using Buildship. You can connect to buildship via custom actions. It’s much more extensive.

---

<div class="post-metadata">

**Author:** ![ekull](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@ekull](https://forum.adalo.com/u/ekull)\
**Post date:** [April 30, 2024, 6:52am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/14 "2024-04-30T06:52:49Z")

</div>

I’ll check it out; thank you sooo much!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [May 10, 2024, 6:53am UTC](https://forum.adalo.com/t/hit-and-miss-with-google-text-to-speech/46924/15 "2024-05-10T06:53:29Z")

</div>

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