mic_stream_recorder
1.1.2, released a year ago by yasinarik.com
Record audio from the microphone with real-time amplitude monitoring and built-in playback.
What it does
Records audio to M4A format on iOS and Android while streaming normalized real-time amplitude values. It also includes built-in playback controls for recorded files.
AI-written summary of version 1.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to record voice or audio clips with live amplitude feedback on iOS and Android.
- You want an easy way to play back recorded audio files within the same plugin.
Skip it when
- Your app requires web or desktop support, as only iOS and Android are supported.
- You need complex low-level audio processing beyond basic recording, playback, and amplitude streams.
Strengths
- Provides real-time amplitude streaming (0.0 to 1.0) out of the box.
- Includes built-in playback controls (play, pause, stop).
- Configurable recording settings like sample rate, channels, and audio quality.
Weaknesses
- Platform support is limited strictly to iOS and Android.
- Does not support web or desktop targets.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires adding RECORD_AUDIO and WRITE_EXTERNAL_STORAGE permissions to AndroidManifest.xml, and NSMicrophoneUsageDescription to Info.plist on iOS.
final MicStreamRecorder _recorder = MicStreamRecorder();
// Listen to amplitude values
_recorder.amplitudeStream.listen((amplitude) {
print('Amplitude: $amplitude');
});
// Start and stop recording
await _recorder.startRecording();
final path = await _recorder.stopRecording();Alternatives
Packages that do the same job and could replace mic_stream_recorder.
- record
A mature, highly popular package for recording audio to various formats across mobile, web, and desktop.
94Compare - audioplayers
If you primarily need comprehensive audio playback and sound management alongside recording options.
87Compare
Works with
Packages commonly used together with mic_stream_recorder: ones it builds on, ones built on it, and its own family.