SoundForgePro Official 15-day trial

Audio Tools

Online Pitch Detector: Note, Hz & Cents

Guide navigation Table of contents Sections
    Online pitch detector reading A4 at 440 Hz with a centered cents tuning scale
    A stable single note gives the detector the clearest fundamental to measure.

    Press Start microphone, allow access and hold one clean note for about a second. The detector shows the nearest note, measured frequency and how many cents the pitch sits sharp or flat. Audio is analysed inside this browser: the page does not record or upload it.

    Browser pitch tool · local microphone

    Find the note you are playing

    Your browser asks for microphone access only after Start. Audio is analysed on this device and is not recorded or uploaded.

    Detector status Ready

    Use one steady voice or instrument note. Chords and noisy rooms can confuse the reading.

    Detected note

    Waiting for a stable note

    Frequency Hz
    Tuning cents
    Target— Hz
    Input level— dBFS0%
    Pitch confidence0%
    Reference pitchDefault A4 = 440 Hz
    Hz

    Ready. Press Start microphone, allow access, then hold one note for about a second.

    How to use the pitch detector

    1. Choose a quiet position. Move away from fans, loud speakers and other instruments. Reflections and background notes can make the fundamental less stable.
    2. Press Start microphone. Your browser asks which input it may use. On a phone, point the built-in microphone toward the source without covering it.
    3. Play one sustained note. A voice vowel, guitar string, piano note or other clear monophonic source works better than speech, percussion or a chord.
    4. Read note, Hz and cents together. The note name is the nearest equal-tempered pitch. Frequency is the measured fundamental. A negative cents value is flat; a positive value is sharp.
    5. Stop when finished. Stop releases the microphone track. The page also stops capture when it is hidden or you navigate away.

    If the reading jumps, don't chase every number. Hold the source steady, bring it closer without clipping the input, and give the confidence bar a moment to settle. The display uses a short rolling median, so an isolated bad frame won't move the note immediately.

    How to read note, frequency and cents

    ReadoutWhat it meansHow to use it
    Note + octaveThe nearest note in twelve-tone equal temperamentIdentify the pitch region, such as A4 or E2
    FrequencyThe estimated fundamental in cycles per secondCompare the measured Hz with the target
    CentsThe logarithmic distance from the nearest target noteNegative is flat, positive is sharp; zero is centred
    Input levelThe microphone signal level inside the digital inputMove closer if too quiet; move back if the input distorts
    ConfidenceHow clearly the current frame supports one repeating pitch periodTreat low-confidence note names as provisional

    One semitone contains 100 cents, so a reading near +50 is halfway from the displayed note toward the next semitone. Cents are logarithmic: the same musical interval uses the same cents distance at low and high frequencies. That said, the number is still an estimate; don't expect every phone microphone or noisy room to resolve the pitch to laboratory precision.

    When to change the A4 reference

    The default is A4 = 440 Hz. Leave it there for ordinary modern tuning checks. Open Reference pitch only when an ensemble, recording, historical practice or supplied brief uses another reference. Changing A4 changes the target-note map; it doesn't change the audio captured by the microphone.

    For example, at A4 = 440 Hz the A below middle C is 220 Hz and the A above it is 880 Hz. Every octave doubles or halves frequency. Other notes follow the equal-tempered ratio of the twelfth root of two. If you need to create a known reference rather than measure one, use the online tone generator. Keep its output quiet and use a second device if you want to test this detector without creating microphone feedback. For a static equal-tempered lookup across octaves, use the musical note frequency chart.

    Sources that work well — and sources that do not

    • Voice: sustain one vowel at a comfortable level. Spoken sentences change pitch too quickly for a stable tuner-style reading.
    • Guitar and bass: pluck one string and let the initial attack pass. Use the settled body of the note; overtones and fret noise can dominate the first instant.
    • Piano and keyboards: play one note. The sharp attack may jump briefly before the sustained tone settles.
    • Wind and bowed instruments: hold one steady note with consistent breath or bow pressure.
    • Chords: not supported as chord recognition. Several fundamentals and overtones compete, so the result may jump between partials.
    • Drums, clicks and noise: usually unsuitable. A transient or broadband signal does not provide one persistent fundamental period.

    The supported display range is deliberately limited to roughly 65–2,000 Hz. That covers common voice and instrument fundamentals while leaving enough samples for useful browser analysis. Frequencies outside the range may appear as silence, a harmonic or an unstable result. For a full view of energy across many simultaneous frequencies, use the audio spectrum analyzer; it answers a different question from this note detector.

    How the browser estimates pitch

    The page reads short microphone frames through the Web Audio API and applies a YIN-style fundamental-frequency estimate. The original YIN pitch-estimation paper describes a difference function and cumulative mean normalization designed to reduce common autocorrelation errors. Here, a confidence threshold rejects weak or ambiguous frames, and a short median smooths accepted frequencies before note conversion.

    The detected frequency is converted to an equal-tempered MIDI-note position relative to the selected A4 reference. The nearest integer identifies the note; the remaining logarithmic distance becomes cents. The algorithm runs in page memory, and the microphone source is connected to an analyser rather than the audio output, so the page shouldn't play your input back through the speakers.

    Browser microphone capture is available only in a secure context and requires explicit permission, as documented for MediaDevices.getUserMedia(). Mobile browsers can also suspend Web Audio until a user action, so the page creates and resumes its audio context inside the Start action, consistent with AudioContext.resume().

    Why the pitch reading jumps or stays blank

    • Permission blocked: allow microphone access for soundforgepro.com in the browser’s site settings, then press Start again.
    • No signal: confirm the selected microphone works, move the source closer and check that another app is not holding the input.
    • Signal too quiet: reduce the source-to-microphone distance. Do not boost until the room noise becomes louder than the note.
    • Reading jumps by an octave: wait past the attack, play more softly or change microphone position. A strong harmonic can briefly look more periodic than the fundamental.
    • Wrong note during a chord: isolate one note. This page is a monophonic pitch detector, not a chord detector or key finder.
    • Phone does nothing after Start: reload the HTTPS page, make sure the browser has microphone permission and press Start again from the visible button. Private or embedded browsing modes can apply stricter permission rules.

    Where pitch detection fits an editing workflow

    Pitch detection is useful before a destructive edit: identify a sustained tone, compare a suspected hum with a musical partial or document the note before time/pitch processing. It won't repair the audio, though. For recorded material, inspect the spectrum as well, then make the change in your editor and measure again.

    If you're changing pitch or duration in Sound Forge, the time-stretch and pitch-shift guide separates musical transposition from duration changes and explains where artifacts tend to appear. Use the tone generator for a fixed test signal and the spectrum analyzer for broadband peaks; this detector is for one live fundamental.

    Privacy and measurement limits

    • The page requests microphone access only after you press Start.
    • It does not create a recording, upload audio or connect the microphone to speaker output.
    • Stop, page hide and navigation release the active microphone track.
    • The reading depends on the source, room, microphone, sample rate and browser.
    • It is not a calibrated frequency counter, hearing test, vocal-range diagnosis or proof of instrument intonation.

    Online pitch detector FAQ

    Does the pitch detector record or upload my voice?

    No. The live MediaStream is analysed in the current browser tab. The page does not create a recording, send audio to a server or play the microphone signal through the output.

    What does a negative cents reading mean?

    A negative value means the measured pitch is flat relative to the nearest displayed target; a positive value means it is sharp. Zero is centred. One semitone equals 100 cents.

    Can it detect guitar, bass, piano and voice?

    It can estimate a stable single fundamental from those sources when the note is clear and inside roughly 65–2,000 Hz. Let sharp attacks settle and avoid playing more than one note at once.

    Can this tool identify chords or a song key?

    No. It is a monophonic pitch detector. Chord recognition and key estimation require analysis of several simultaneous or time-varying pitches and are separate tasks.

    Why does the detector show the wrong octave?

    A strong overtone, noisy attack, very low note or weak fundamental can produce an octave error. Hold one note, wait past the attack, adjust microphone position and use the confidence reading before trusting the result.

    Should I change A4 from 440 Hz?

    Keep 440 Hz unless the ensemble, recording or delivery brief uses another reference. Changing A4 remaps the target frequencies and cents values; it does not alter the captured sound.