Chromatic tuner

Estimate microphone pitch, nearest note, and tuning error in cents.

ready

node examples/tuner.js 440
a=<hz>
reference pitch for A4
rate=<hz>
microphone 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 → Analyser → Pitch detector
Input
Microphone stream
Output
Pitch, note, cents

It works as an online chromatic tuner and pitch detector: play a note into the microphone and it reports the frequency, the nearest note, and how many cents you are off. The browser demo listens live, and the Node CLI runs the identical YIN-based pitch detector against @audio/mic for tuning a guitar or any monophonic instrument from a terminal.