Audio File Pitch Detector
Up to 20 MB and 180 seconds. MP3, WAV, OGG and WebM depend on this browser's decoder. The file is read locally, never uploaded. Use a single voice or instrument; chords/mixed songs may not yield a reliable fundamental pitch.
Choose a recording to begin.
Settings & measurement notes
Analysis samples one pitch estimate about every 50 ms. Unvoiced frames are excluded from summary statistics. Channel mixing can cancel opposite-phase stereo; try Left or Right if needed.
Related Tools
- Online Pitch Detector — identify a note directly from your microphone.
- Hz to Note Converter — interpret a frequency from your file measurements.
- Vocal Pitch Monitor — watch a vocal phrase as you sing.
Find pitch in a saved recording
The audio file pitch detector traces one pitched sound through a local recording. Choose a file, analyse it and compare its timeline with playback. You can review median frequency, mean frequency, typical frequency range and voiced duration, then export timestamped measurements as CSV or JSON.
Use an isolated voice, a solo instrument or a clean test tone. A recording containing a band, backing track or several voices may not have one unambiguous fundamental for the tool to follow. This is pitch analysis, not separation of a singer from a complete song.
Choose a file the browser can read
The file picker accepts MP3, WAV, OGG and WebM recordings, subject to the browser’s decoder. Files must be nonempty, no larger than 20 MB and no longer than 180 seconds. Passing those checks does not guarantee decoding: container, codec, channel count and decoded memory also matter.
The analysis has an additional decoded-sample limit. A short compressed file can expand substantially when decoded, particularly with multiple channels. If the tool rejects a file for duration or memory, make a shorter excerpt in your audio editor. Renaming a file extension does not change its audio format.
- Select the recording from your device and wait for its duration information.
- Choose Mix channels, Left channel or Right channel.
- Set A4 if the performance uses a reference other than 440 Hz.
- Select Analyze file and allow decoding and analysis to finish.
- Play or seek through the recording to compare audible events with the timeline.
- Copy the summary or download CSV and JSON measurements before resetting.
The file is read and processed inside your browser; the tool does not upload it to an analysis server. No microphone permission is needed for this workflow. Sitewide cookies or analytics are a separate matter from the plugin’s audio processing.
Pick the channel that contains the clearest sound
Mix channels averages the channels before estimating pitch. That is useful when the desired sound is distributed across stereo. Left or Right is preferable when the useful voice or instrument is isolated on one side.
If opposite-phase versions of a sound exist in the two channels, averaging them can cancel part of the signal. A quiet or empty-looking result in Mix mode may therefore be worth comparing with Left and Right. Selecting a side does not remove an accompaniment already mixed into that side. Changing channel requires a new analysis.
Read the timeline before trusting one summary note
The detector examines short audio windows and generates a pitch estimate about every 50 milliseconds, searching from 50 to 2000 Hz. The timeline follows those estimates across the recording. Gaps indicate frames without an accepted pitch, which can occur during silence, consonants, noise or ambiguous sound.
The headline note corresponds to the median detected frequency. It is not a declaration of the song’s key, a complete melody or the only note played. In a recording with several notes, inspect the timeline and exports rather than assigning the whole file a single musical label.
| Field | Interpretation |
|---|---|
| Median Hz | The middle frequency when detected values are ordered. |
| Mean Hz | The arithmetic average of detected frequencies; brief extreme estimates can affect it. |
| Typical range Hz | The 10th-to-90th-percentile range, rather than absolute minimum and maximum. |
| Voiced seconds | Time associated with accepted pitch frames, excluding unvoiced gaps. |
A two-note exercise makes the distinction clear: a summary may fall between the two pitch regions and fail to describe either section well. This is an illustrative interpretation, not a claimed analysis of your file. Compare each section with playback and its timestamps.
Use CSV and JSON without losing the gaps
CSV contains time in seconds, frequency in Hz, note, cents from the nearest note, clarity and A4 reference. Frames without an accepted pitch retain their timestamps but have empty pitch-related fields. JSON retains the timed points, including null frequencies, along with file and analysis information.
Keep those empty or null values distinct from a measured 0 Hz. Replacing them with zeros creates an artificial drop in a graph and distorts averages. File timestamps describe analysis windows, not manually verified note-onset boundaries. Clarity is the detector’s signal measure, not a calibrated probability that a note is correct.
The downloads contain numbers, not an edited audio file, MIDI sequence or musical score. For a frequency that needs closer interpretation, use the Hz to note converter with the same A4 reference.
Troubleshoot decoding and octave jumps
If the browser cannot read a file, try a standard WAV or MP3 export from the original recording. Use a complete audio file rather than an incomplete download. Playback compatibility and Web Audio decoding are related but do not guarantee identical support for every format.
Cancel analysis discards the current operation’s result. Browser decoding may continue internally until its current call finishes; cancellation cannot force that native call to stop immediately. Reset clears the selected recording and measurements when you are ready for another file.
For repeated octave jumps, inspect a cleaner solo excerpt and compare channels. A strong harmonic may be mistaken for the fundamental. Dense accompaniment, heavy effects and very fast changes can also make the track ambiguous. The tool cannot certify precise tuning across every voice, instrument or recording condition.
Frequently Asked Questions
Can it detect pitch from an MP3?
Yes, when the MP3 falls within the size and duration limits and your browser can decode it. A clearly isolated pitched source gives more interpretable results than a full musical mix.
Can I enter a YouTube link or an MP4 video?
This interface accepts local audio files, not video URLs or an MP4 workflow. Obtain an appropriate audio file through a method you are entitled to use, then choose it in the file picker.
Why is voiced time shorter than the recording?
Only frames with accepted pitch estimates contribute to voiced time. Silence, breath, unvoiced sounds and unclear frames remain in the timeline but do not contribute to voiced-only statistics.
Can it tell which musical key the recording uses?
No. Following one pitch over time does not by itself identify key or harmony. The summary’s nearest note is a frequency label, not a key-detection result.
How do I check a sound that is happening now?
Use the homepage online pitch detector for a microphone reading. Choose this file tool when you need repeatable playback and timestamped analysis of a recording you already have.
