Recorder is a JavaScript library for capturing microphone audio in web pages and hybrid apps. It supports real-time encoding to multiple formats and plugins for visualization, ASR, and streaming.
Overview
Recorder targets in-browser voice capture through getUserMedia and related APIs, with emphasis on single-channel speech rather than stereo music. It runs in common desktop and mobile browsers, WebViews, Electron, and can integrate with mini programs through the separate RecordApp layer.
The core library can record from diverse MediaStream sources, not only the microphone, and offers optional encoders for MP3, WAV, PCM, G.711, OGG, AMR, and WebM. Small minified builds focus on MP3 or WAV, while a plugin ecosystem adds visualization, pitch and speed processing, DTMF, buffer playback, and speech-to-text hooks.
Developers load scripts manually or via npm, open a recording session under HTTPS or localhost, and receive Blob output for upload, playback, or further processing. Documentation covers QuickStart samples, WebView integration on Android and iOS, WeChat mini programs, uni-app, and Electron permission flows.
Use cases span web voice messages, real-time transcription pipelines, long-form memo recording with memory-conscious processing, and telephony-style DTMF experiments.
Key features
- Microphone recording via getUserMedia
- Multiple audio output formats
- Real-time processing and transcoding
- Plugin ecosystem for ASR and visualization
- MediaStream capture beyond microphones
- RecordApp for WeChat and uni-app
- WebView integration samples
- DTMF encode and decode support
Use cases
- In-browser voice messaging
- Real-time speech recognition feeds
- Hybrid mobile app voice capture
- Long-duration voice memos
- DTMF signal experiments