cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ThunderNugget
Level: Power Up

Re: saving microphone audio

I've setup my flow as described and It's sending audio emails successfully, however, the format sent is in the generic file (.) format and not a recognized audio format.  Any suggestions? 

Mike8
Level 10

Re: saving microphone audio

You can try to name the audio file as AudioFileName.mp4

Darius
Level: Power Up

Re: saving microphone audio

it won't work. Despite the documentation the audio output file format is not known.

Darius
Level: Power Up

Re: saving microphone audio

formula won't work.

the file format looks like unknown.

Mike8
Level 10

Re: saving microphone audio

Hello Darius,

Did you try to add .mp4 at the end of the file name? 
And it's not working? Strange. It works for me

seadude
Level 10

Re: saving microphone audio

Had some fun playing with this tonight and was successful using Azure Blob Storage and following along with Evan Chaki's blog post here.

The gist:

- Create an Azure Blob Container

- Add the Azure Blob Storage data source to your powerapp

- OnStop of your recorder Control:

// First collection to show the raw appres url from mic.audio
Collect(
    colLocalSounds,
    {
        ID: CountRows(colLocalSounds) + 1,
        sounds: Microphone1.Audio
    }
);

// Second collection to visualize the blob metadata once saved
ClearCollect(
    colAzureBlob,
   AzureBlobStorage.CreateFile("NAME_OF_YOUR_BLOB_CONTAINER","test_audio" & Text(Now(),LongDateTime24) & ".wav", Microphone1.Audio)
);

// Third collection to get the actual audio
ClearCollect(
    colAzureAudio,
    AzureBlobStorage.GetFileContent(First(colAzureBlob.Id).Id)
)

- You can pare these down as you see fit. Good for visualizations at first.

- In Azure Portal, you can quickly "Generate SAS and URL" to play the audio in the browser

Good luck!

h-nagao
Level 10

Re: saving microphone audio

Hello,
This topic has been discussed long time.
Today, I found simple&low-coding approach for this topicSmiley Happy
Using JSON function and Flow.
For a detail pls check out my blog post.
https://qiita.com/h-nagao/items/d36e0ba5552cfe94ad07

Thank you,
Hiro

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 375 members 5,174 guests
Please welcome our newest community members: