Text to Speech tied to App Variable working in Preview but not in Live testing

I’ve read all of the threads and tried everything.

I’m using some text to speech blocks in my app, and when I preview it on my computer via the browser it works perfectly. However, when I live test it on my iOS device the text to speech is silent. I took vibrate and focus/do not disturb off and enabled Spoken Content in my settings etc.

It’s weird because I hear correct audio on the live test for functions where I used a [say “set text” in English] block, but any block that I used a [say “App Variable” in English] doesn’t have audio in the Live test.

Again, everything works in the preview via the browser on my computer, and on the iOS live test its the only the text to speech blocks that are saying an input that is an app variable.

Any help would be extremely helpful. This is my first app and I would really like to get this working!

Are you able to share the project link so others can test it on iOS devices?

Thank you!

Can you share it again using the Share button?

That link works. The problem is the say block requires a text value but you are giving it numeric values.

For example, these blocks will say “Hello… seven” but ignore the 3:

To fix this, you need to convert numbers to text by joining the numbers (variables) with an empty string (“”):

Personally, I’d create a function for this:

3 Likes

Thank you! That solved it! Really appreciate your prompt response and fantastic guidance!

2 Likes