web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text to Speech convers...
Power Apps
Unanswered

Text to Speech conversion in PowerApps

(0) ShareShare
ReportReport
Posted on by 130

Hi,

 

I am trying to creating an app which will read out the text on the screen, basically for accessibility purpose.

 

I tried adding the audio control in the app & the Microsoft Translator service.

 

In the Media property for Audio control, I added:

 

MicrosoftTranslator.TextToSpeech("This is my text here", "en")

 

However when i run the app - getting the below error:

 

MicrosoftTranslator.TextToSpeech failed: The request was not sent or there was no response form the server. Check your internet connection.

 

My internet connection seems to be fine as I can browse websites. SO not sure what is the issue here.

 

Could you please help. Is this the right way to use MicrosoftTranslator.TextToSpeech or are there any other free API's can can be used to do Text to speech conversion.

 

Categories:
I have the same question (0)
  • v-albai-msft Profile Picture
    on at
    Re: Text to Speech conversion in PowerApps

    Hi @TheOpeningBat ,

    Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:

    v-albai-msft_0-1613713434419.png

    Set the Media property of the Audio control to following:

    MicrosoftTranslator.TextToSpeech("Today is 0219", "en", {format:"audio/mp3"})

    Note: I would suggest you add the format parameter in your formula since the output of TextToSpeech was default WAV format which doesn’t support on IE, and mp3 format to support in IE.

    On your side, I would suggest you re-add a new connection to Microsoft Translator Connector, then try your formula again, check if the issue is solved.

    Best Regards,

    Allen

  • TheOpeningBat Profile Picture
    130 on at
    Re: Text to Speech conversion in PowerApps

    Hi @v-albai-msft,

     

    Thanks for your reply. I tried as you had mentioned, but still the same error.

    Also, is there any license required for using Microsoft Translator.

    Since when I added that, it asked for Subscription key but I didn't added anything & it got added.

  • Verified answer
    v-albai-msft Profile Picture
    on at
    Re: Text to Speech conversion in PowerApps

    Hi @TheOpeningBat ï¼Œ

    To use the Microsoft Translator Connector, you need to make sure if your account has Azure subscription, since this is the service from Azure.

    Besides, Subscription key is needed. When you shared your app to your end users, the Microsoft Translator connection would be shared to them automatically without providing additional credential to access this connector from your end users.

    (For test purpose, I also don’t add anything, and it works well(I have Azure subscription). If you want to share this app to your end users, you must add the key)

    To get the key, you can refer to this article.

    Best Regards,

    Allen

  • AsanKani Profile Picture
    710 on at
    Re: Text to Speech conversion in PowerApps

    Overview of the Microsoft Translator connection - Power Apps | Microsoft Docs
    See this doc.. You need to add MicrosoftTranslator  Connection.. then try.. it's working fine..

    AsanKani_0-1614048638878.png

     


    Did this post solve your problem? Please click Accept as Solution so that others may find it more quickly.
    If you liked my response, please give it a Thumbs Up.


  • TheOpeningBat Profile Picture
    130 on at
    Re: Text to Speech conversion in PowerApps

    Thanks for your reply @v-albai-msft & @AsanKani.

    The audio control with the translator service seems to be working fine, if I open the app in a mobile.

    But in desktop or web browser, it seems to block the translator service, so not sure any permission issue. Anything you are aware of. Thanks.

  • AsanKani Profile Picture
    710 on at
    Re: Text to Speech conversion in PowerApps

    You can try New Edge Download the new Microsoft Edge based on Chromium

  • v-albai-msft Profile Picture
    on at
    Re: Text to Speech conversion in PowerApps

    Hi @TheOpeningBat ,

    So strange, everything works fine in my browsers.

    Maybe you can try to open your app in different browsers, also try in a inPrivate/incognito mode.

    Best regards,

    Allen

  • penguin1723 Profile Picture
    2 on at
    Re: Text to Speech conversion in PowerApps

    Can I ask if it still works? This is because Microsoft deprecated the original one.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard