cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

saving microphone audio


Hello,

I wondered if there is any way to write out the audio from the microphone input. Some chap asked on the "Learn" page ( http://disq.us/p/1cc2pal ) corresponding to that control, but recieved no response. I am hard pressed to think of an instance where I would want to record audio & only use it in the app that did the recording. Is there something I am missing? Can we just save it anywhere, like a text record? I'm thinking "no".

 

There is documentation on how to get the audio into the PowerApp, but nothing to get the audio back out. Are we meant to run it all through Cortana before we can move the data elsewhere? If so, why not just have a STT input instead? I guess I could go old-school & dub it out if my headphone jack...

 

Cheers!

—D of A.V.L.ien

27 REPLIES 27
Highlighted

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? 

Highlighted

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

Highlighted

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

Highlighted

formula won't work.

the file format looks like unknown.

Highlighted

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

Highlighted

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!

Highlighted
Impactful Individual
Impactful Individual

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

Thank you,
Hiro
Highlighted

This kind of approach works on PCs. The problem is that probably no one on this planet could make it work on mobile devices.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,830)