Learntrix
๐ŸŽธ Real-Time Client-Side Pitch Detection

Online Chromatic Guitar Tuner

High-precision autocorrelation frequency detection with dynamic cent deviation needle. Tune acoustic, electric, and bass guitars with zero server audio transfer.

Tuning Preset:
-50โ™ญ (Flat)0ยข (Perfect)+50โ™ฏ (Sharp)
--
Press "Start Listening" to detect guitar string
Standard E (E-A-D-G-B-E) Strings:Click string to hear reference pitch

How Client-Side Autocorrelation Pitch Detection Works

When a guitar string is plucked, it does not produce a simple pure sine wave. Instead, it vibrates with dozens of conflicting higher-order harmonics and string overtones. A simple Fast Fourier Transform (FFT) peak detector often mistakenly locks onto the 2nd or 3rd harmonic instead of the true fundamental frequency.

Autocorrelation DSP

Measures how closely the incoming audio waveform matches time-shifted versions of itself. By isolating the exact cycle lag period, it calculates the true fundamental acoustic pitch regardless of overtone strength.

Sub-Hertz Accuracy

Parabolic vertex interpolation across peak autocorrelation bins enables cent precision within ยฑ0.5 cents, well below human pitch discrimination thresholds.

100% In-Memory Privacy

Audio is read directly into typed Float32 arrays in browser RAM and garbage collected immediately. Zero audio data is ever transmitted or stored.

Interactive Musical Instruments & Studio

All Instruments
LIVE

Virtual Studio Piano & Synthesizer

Play 2 full octaves of realistic grand piano, rhodes, and 8-bit chiptune with your computer keyboard or touch. Record melodies live with low-latency Web Audio.

Launch Studio
LIVE

Virtual Drum Kit & Beat Machine

100% native synthesized acoustic drum kit and 16-step beat sequencer. Play kick, snare, hi-hats, toms, and crash cymbals with your keyboard.

Launch Studio
LIVE

Pro Metronome & BPM Tap Studio

Rock-solid precision metronome with lookahead Web Audio clock scheduling, visual pendulum swing, multiple time signatures, and tap tempo detector.

Launch Studio
Want classic games? Play Flappy Bird, Snake, Chess, and 16+ browser arcade hits.Explore Arcade