Microphone

An audio input to record microphone audio. Recordings are Base64-encoded in WebM format, and audio playback displays a progress bar and elapsed time.

Properties

Available properties for Microphone. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.

NameDescriptionlabel

The text to display in the button to begin recording.

recording

Whether the microphone is currently recording.

audioFile

A Base64-encoded string of the recorded audio.

stopLabel

The text to display in the button to stop recording.

disabled

Whether user input, interaction, or selection is disabled.

audioURL

A Base64-encoded URL with the recorded audio.

Events

Events are triggered by user interactions with Microphone. Use event handling to trigger queries or other actions in response to events.

NameDescriptionChange

A user changes the current value.

Methods

Methods for interacting with Microphone. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.

NameDescriptionscrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.

reset()

Reset the recorded audio.