Short: how to play a Power Automate generated mp3 file in a Canvas app?
Details:
I use Power Automate for the Azure Text-to-speech function. A canvas app calls the flow, which generates the speech result. Finally I send back the result of the speech function to the canvas app as a variable. How can I play this result with the Audio player in the canvas app? Do I have to convert this result to another format?
When I save the result of the speech function in power automate as One Drive mp3 file, I can play the mp3 with Windows media player using Windows 11. I do not intend to save the speech result as a mp3 file.
Hi @Amersfoort ,
Could you please share more details of your flow? How did you generate the file? Where are you saving this file?
Anyway, below is a similar thread from this forum for your reference:
Hope it helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
I have created a Powerapps custom connector to Azure Microsoft Speech. In Power Automate I use this connector for Text-to-speech. I wanted to upload this result to the Canvas app.
In the mean time I have figured out, that the result of this Speech step has to be converted twice; starting with the binary option, and finally with the base64 option. Now I can play the speech audio in the Canvas app.
Where can I find when to use which conversion option using files of different formats in Power Automate?
EDIT: Compose step is not necessary.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
192 | |
70 | |
49 | |
48 | |
20 |
User | Count |
---|---|
249 | |
127 | |
84 | |
76 | |
74 |