How Sound-Based Chord Identification Separates Notes from Overtones
Identifying a chord from raw sound is fundamentally harder than reading MIDI notes because acoustic instruments never emit pure sine waves. Plucked guitar strings, bowed cello notes, and struck piano hammers vibrate at a fundamental frequency f0 alongside integer multiples: 2×f0 (one octave up, same pitch class), 3×f0 (an octave plus a perfect fifth, +7 semitones), 4×f0 (two octaves up), 5×f0 (two octaves plus a major third, +4 semitones, 14 cents flat of equal temperament), and 7×f0 (approaching a harmonic minor seventh, 31 cents flat). A naive peak detector reading raw FFT bins mistakes a single loud C2 bass note for an entire C major triad, or mislabels a two-note guitar power chord as a dominant ninth.
To prevent overtone false positives, chordgen applies a 4,096-sample Hann-windowed Radix-2 Cooley-Tukey FFT across the 65 Hz to 2,200 Hz harmonic band (roughly C2 to C#7), weights fundamental and low-mid frequencies below 550 Hz higher than upper partials, and applies Gaussian bin-center tuning filters so off-pitch percussive noise between semitone bins is rejected. Before matching chord templates, each pitch class subtracts 14% of the energy observed in the pitch class five semitones below—directly compensating for 3rd-harmonic perfect-fifth bleed across every octave.
Finally, a dedicated bass-chroma accumulator isolates energy between 65 Hz and 220 Hz (C2 through A3). Because enharmonic and relative chord pairs like Cmaj7 (C–E–G–B) versus Em/C, Am7 (A–C–E–G) versus C6, and Bm7b5 (B–D–F–A) versus Dm6 share identical upper pitch-class sets, combining L2-normalized full-band cosine similarity with low-frequency bass root bonuses resolves root-position chords cleanly while penalizing bloated four- and five-note templates whenever a cleaner three-note triad already accounts for the spectrum.
Signal pipeline (100% client-side WebAudio):
PCM Mono Mix -> 4096-pt Hann Window -> Radix-2 FFT (65–2200 Hz)
-> Gaussian Semitone Filter + 3rd-Harmonic Bleed Subtraction (-0.14 * fifth)
-> L2 Pitch-Class Chroma [C..B] + Bass Chroma (65–220 Hz) -> Cosine Template Match
Acoustic Note: Zero server upload: audio buffers stay in Float32Array memory inside your browser tab and are released as soon as you clear or close the page.
Why Bar-Aligned Windowing Beats Frame-by-Frame Flicker
At a standard 44.1 kHz or 48 kHz sample rate, a single 4,096-sample FFT window spans roughly 85 to 93 milliseconds—wide enough in frequency resolution (~10.7 Hz per bin, interpolated across adjacent bins) to separate low E2 (82.41 Hz) from F2 (87.31 Hz), yet short enough in time that snare hits, pick attack clicks, fret squeaks, and vocal sibilants cause raw frame-by-frame chord labels to flicker rapidly between neighboring triads.
Musical harmony almost never changes every 90 milliseconds; in pop, rock, folk, country, R&B, and electronic music, chords overwhelmingly shift on full-bar or half-bar boundaries. By entering your song's BPM and selecting Full-Bar or Half-Bar resolution, the detector averages overlapping 50%-hop FFT frames across the entire rhythmic span before scoring chord templates. Unpitched drum broadband energy cancels out across beats while sustained guitar strings, Rhodes pads, synth chords, and bass lines accumulate coherent pitch-class peaks with high signal-to-noise ratio.
When transcribing bebop jazz standards, gospel walkups, bossa nova turnarounds, or classical cadences that change harmony on every beat or anticipate barlines by an eighth note, switch the Window Grid selector to 1 Beat or Fine (0.5s). Because the decoded mono Float32Array remains cached in local RAM, changing BPM, time signature (4/4, 3/4, or 6/8), or grid resolution re-segments a four-minute song in milliseconds without re-decoding the audio file.
120 BPM in 4/4 time:
1 Beat = 0.50 s (catches fast V7 passing chords)
Half Bar = 1.00 s (2 beats — ideal for pop/jazz split bars)
Full Bar = 2.00 s (4 beats — cleanest readout for steady strumming)
Acoustic Note: Changing BPM, Time Signature, or Window Grid re-analyzes the decoded PCM waveform in under 15 milliseconds.
Transcribing Eb-Tuned Tracks and Finding Easy Capo Shapes
Two practical roadblocks trip up guitarists and keyboardists transcribing songs by sound: studio recordings tuned down a half-step (Eb standard: Eb–Ab–Db–Gb–Bb–Eb, or D standard two semitones down) and acoustic tracks recorded with a fretboard capo. When an acoustic sound identifier listens to an Eb-tuned guitar playing open G, D, Em, and C fingerings, the true physical frequencies vibrating in the air are Gb, Db, Ebm, and B—flooding a literal concert-pitch chart with five-flat barre chords that look nothing like what the guitarist's left hand actually played.
Use the Transpose selector (+1 semitone for Eb tuning, +2 semitones for D standard) to shift detected concert pitches back to standard E-tuning chord names so you can read familiar open G–D–Em–C shapes and tune your instrument to match the record. Conversely, if you want to stay in standard EADGBE tuning and play along with a singer-songwriter track whose concert pitches read Ab – Eb – Fm – Db, set the Capo Guide dropdown to Capo Fret 1: every timeline bar and chart preview immediately displays the ergonomic Capo-1 G – D – Em – C fingerings (or Capo Fret 6 for D – A – Bm – G).
Vintage vinyl transfers and tape-varispeed masters from the 1960s and 1970s (as well as ambient tracks tuned to A=432 Hz or orchestral recordings at A=442–444 Hz) frequently sit 15 to 35 cents sharp or flat of modern A=440 Hz concert pitch. Our Gaussian semitone filter bandwidth accommodates moderate tuning drift gracefully without dropping chord tones into neighboring semitone bins.
Concert Audio Detected: | Ab | Eb | Fm | Db |
Capo Fret 1 Shapes: | G | D | Em | C | (-1 semitone shape offset)
Capo Fret 6 Shapes: | D | A | Bm | G | (-6 semitone shape offset)
Acoustic Note: Exported MIDI files automatically respect your active Semitone Transpose setting so your DAW session matches your chosen key.
Microphone Placement & Stem Isolation Tips for Accurate Transcription
Live microphone chord recognition works best when direct harmonic string or key energy outweighs room slapback and mechanical noise. On steel-string or nylon acoustic guitar, point your phone or laptop microphone toward the 12th-fret neck joint at a distance of 25 to 40 centimeters rather than aiming straight into the soundhole—soundhole Helmholtz resonance booms heavily between 92 Hz and 115 Hz (F#2 to A#2), which can bias bass-root scoring on higher-register chords. On upright or grand piano, set your device near mid-keyboard height with the lid propped or fallboard open so left-hand octaves do not drown out right-hand thirds and sevenths.
On mastered full-band MP3 or M4A mixes containing kick drums, cymbals, distorted lead guitar solos, and upfront vocals, polyphonic chroma vectors sum every pitched source sounding in that bar. Whenever a lead vocalist holds a sustained 9th (for example, singing D over a C major backing chord) or a bass player walks chromatically on beat four, the bar profile may surface Cadd9, Cmaj7, or a slash inversion. Click any bar card and hit Audition Chord to hear its synthesized triad or seventh chord in isolation—your ear will immediately tell whether an added 7th or 9th is an essential harmonic color or a passing melody note.
During live solo practice, hold down your chord on guitar or keyboard for half a second until the 12-bin chroma bars settle, then click Freeze Frame before lifting your fingers off the fretboard. Freezing locks the active pitch-class spectrum, chord symbol, compatible parent scales, and 2-octave piano diagram on screen so string-release noise never overwrites your chord lookup, and exported Type-0 Standard MIDI (.mid) files drop straight onto piano-roll tracks in Ableton Live, Logic Pro, FL Studio, Reaper, or MuseScore.
Best input sources ranked by chord accuracy:
1. Solo piano / clean electric or acoustic guitar stem (WAV / FLAC / M4A)
2. Direct live instrument 25–40 cm from mic in a quiet room
3. Full stereo MP3 mix using Half-Bar or Full-Bar averaging
Acoustic Note: Need to check a tricky voicing note-by-note instead? Click over to our reverse Guitar & Piano Chord Finder to toggle individual frets and keys.