Microphone control in PowerApps
A control with which the user can record sounds.
If you add this control, the user can update a data source with one or more sounds from wherever the app is running.
Mic – On a device that has more than one microphone, the numeric ID of the microphone that the app uses.
OnStop – How the app responds when the user stops recording with a microphone control.
BorderColor – The color of a control's border.
BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.
BorderThickness – The thickness of a control's border.
Color – The color of text in a control.
DisplayMode – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
Fill – The background color of a control.
Height – The distance between a control's top and bottom edges.
HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control.
HoverColor – The color of the text in a control when the user keeps the mouse pointer on it.
HoverFill – The background color of a control when the user keeps the mouse pointer on it.
Image – The name of the image that appears in an image, audio, or microphone control.
ImagePosition – The position (Fill, Fit, Stretch, Tile, or Center) of an image in a screen or a control if it isn't the same size as the image.
OnSelect – How the app responds when the user taps or clicks a control.
OnStart – How the app responds when the user starts to record with a microphone control.
PressedBorderColor – The color of a control's border when the user taps or clicks that control.
PressedColor – The color of text in a control when the user taps or clicks that control.
PressedFill – The background color of a control when the user taps or clicks that control.
Reset – Whether a control reverts to its default value.
Tooltip – Explanatory text that appears when the user hovers over a control.
Visible – Whether a control appears or is hidden.
Width – The distance between a control's left and right edges.
X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
Add a Microphone, name it MyMic, and set its OnStop property to this formula:
Don't know how to add, name, and configure a control?
Add a Custom gallery control, move it below MyMic, and set the Items property for the Custom gallery control to MySounds.
In the template for the Custom gallery control, add an Audio control, and set its Media property to ThisItem.Url.
Press F5, click or tap MyMic to start recording, and then click or tap it again to stop recording.
In the Custom gallery control, click or tap the play button in the Audio control to play back your recording.
Add as many recordings as you want, and then return to the default workspace by pressing Esc.
(optional) In the template for the Custom gallery control, add a Button control, set its OnSelect property to Remove(MySounds, ThisItem), press F5, and then remove a recording by clicking or tapping the corresponding Button control.