Plugins · Live example

Microphone recording

Record audio from a microphone and display its waveform using the Record plugin.

Playground: v8.0.0-beta.4. Written guides cover v7; check the version before copying code into your project.

Live preview

Interact with the waveform below

Loading example…

JavaScript

Open raw source · Edits stay in this page. Click Run to update the preview.

Try it yourself

Make it your own

Allow microphone access only when you want to record, then start and stop a short clip. This demo needs a secure context and a working input device.

Understand the implementation in the guide, or look up the available options, methods, and events.