Skip to content
pubscout

microphone

0.1.0, released 6 years ago by creativemaybeno.dev

Web‑only Flutter plugin to record microphone audio and retrieve it as a URL or bytes.

WASM-ready
$ flutter pub add microphone
Source repository

What it does

It creates a MicrophoneRecorder that can start and stop recordings on the web. After stopping, the audio is available via a URL and can be converted to raw bytes. The recorder is a ValueNotifier for state listening.

AI-written summary of version 0.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to capture microphone audio in a Flutter web app
  • You want a simple API to start/stop recording and get a playback URL

Skip it when

  • You need recording on mobile platforms (iOS/Android)
  • You require advanced audio processing or format control

Strengths

  • Very small API, easy to start/stop
  • Provides both URL and raw byte access
  • Works with just_audio for playback

Weaknesses

  • Web‑only, no support for mobile or desktop
  • Limited configuration options

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
3
final recorder = MicrophoneRecorder()..init();
await recorder.start();
await recorder.stop();
final url = recorder.value.recording.url;
recorder.dispose();

Alternatives

Packages that do the same job and could replace microphone.

  • record

    Cross‑platform audio recorder supporting mobile, web and desktop