Recorder JS
A browser-based audio recorder for developers to capture microphone input, encode WAV PCM data, and export recordings for web apps, demos, and educational tools.
Tool coming soon!
We're working hard to get this tool ready for you.
Build Your Own Custom Web Calculator in Seconds
Type what tool or calculator you need below. Our AI will build it instantly for your site.
About This Tool
Conceptually, recording uses getUserMedia to access the microphone, an AudioContext to route audio into a PCM buffer, and a small WAV encoder to package samples with the proper header. The encoder runs in JavaScript with no external dependencies, producing a widely compatible WAV file. The API preserves explicit sampleRate and channelCount metadata, and reports duration and size alongside the output blob.
Core differentiators include a self-contained WAV encoder, a minimal configuration surface for sampleRate and channels, and a clean export API that returns both the Blob and accompanying metadata. Optional enhancements include stereo capture, adjustable bufferSize, and the ability to export partial recordings. Use cases span language practice, lab data collection, podcast snippets, and interactive tutorials.
Limitations and edge cases: encoding beyond WAV (such as MP3) is not included; streaming long sessions should be segmented or exported at stop to avoid memory spikes. The tool relies on browser support for MediaDevices and Web Audio; permission denial, device unavailability, or suspend/resume cycles must be handled gracefully by the consumer code. When no sound is captured, the resulting blob may be empty or very small.
How to Use
- Provide inputs: set sampleRate, channels, and format (WAV);
- Request microphone access via getUserMedia({ audio: true });
- Initialize AudioContext and connect the input to a PCM buffer;
- Start recording and accumulate samples in memory;
- Stop recording and call export WAV to obtain a Blob and metadata;
- Use the Blob for playback, download, or further processing.
Frequently Asked Questions
Find Quick Answers
What formats are supported?
Which browsers are supported?
How is data encoded?
Can I stream or record long sessions?
Need to run multiple calculations?
Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.
Related Tools
Other useful calculators and utilities you might like
Spotify to MP3 Converter
Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.
Road Distance Calculator
Calculate the driving distance and travel time between two addresses with our free online road dista...
Your Feedback Matters
Help Us to Improve
Norwegian
Danish
German
English
Spanish
French
Italian
Dutch
Portuguese
Swedish
Hebrew
Arabic