Mic level

Route a live microphone through a gain and analyser with an RMS meter.

ready

node examples/mic.js gain=0.8
gain=<number>
input gain
rate=<hz>
sample rate (default: 44100)
ch=<number>
input channels (default: 1)
bit=<number>
input PCM bit depth (default: 16)
backend=<name>
@audio/mic backend: miniaudio/auto or process
Graph
Microphone → Gain → Analyser → Destination
Input
Microphone stream
Output
Monitored audio, RMS

This is a live microphone level meter: it routes the mic through a gain and an AnalyserNode with an RMS meter, letting you check input levels and set gain before recording. Run it in the browser, where monitoring stays muted to prevent feedback, or from the Node CLI, which can route the graph to speakers.