CONTROL

Microphone

Microphone records one audio clip from the device. Permission is requested when recording starts, and stopping emits a local URL plus the MIME type and duration.

BOUNDED RECORDING

Keep the workflow explicit

Use maxDuration for voice notes, support updates, and other bounded capture flows.

PLAYGROUND

Record and stop

The control owns the target recording session and exposes only the lifecycle events your page needs.

Record audioReady0:00

Use onStop to attach or persist the generated local URL in your workflow.

dowe
fn microphoneStart
  set microphoneStatus value:"Recording"
fn microphoneStop
  set microphoneStatus value:"Recording saved"
Microphone label:"Record audio" maxDuration:30 onStart:microphoneStart onStop:microphoneStop onError:microphoneError

EVENTS

Use the item in fn

onStart receives source and kind. onStop includes mimeType, url, and durationMs. onError receives a stable source, kind, and error value.

The URL is a browser object URL on web, a temporary m4a URL on iOS, and a cache URI on Android. Dowe does not upload the recording automatically.

API

Props

Microphone also accepts common spacing, sizing, border, visibility, and accessibility props.

Prop
Type
Default

No data

There are no records to display