◒ MELODY LAB · MP3 TO MIDI

OGG to MIDI

Choose your OGG file in Melody Lab, wait for it to load, then select Convert to MIDI. Preview the detected melody and download the .mid file. Start with a single-note melody: this converter does not separate chords or instruments.

Convert OGG to MIDI ↗

One file · up to 25 MB and 3 minutes · audio processed in your browser

Loading audio and finding notes are separate checks

A loaded file is not yet a transcription. The decoder first turns the media into samples the converter can analyze. The detector then tries to identify a melody within your selected pitch range and filters. An OGG can pass the first step and still produce no MIDI notes.

That distinction matters when diagnosing a result. Before changing settings, read the status below the conversion button. A file that has loaded and shows a duration has reached a different stage from one that reports a decoding error. Our controlled example below makes this difference visible.

Our test: a tone and silence in OGG files

On September 25, 2026, we tested two files in the live converter using desktop Chrome. We generated both locally with FFmpeg, encoding a mono signal as Vorbis in an Ogg container. Each source lasted two seconds at 22,050 samples per second. The first contained a steady 440 Hz tone; the second contained silence. These are synthetic diagnostic files, not recordings of a singer or instrument.

We kept Lowest note at C3, Highest note at C6, Detection confidence at 0.85, Quiet-sound filter at −45 dB, Shortest note at 100 ms and Transpose at 0. Both files loaded and displayed 2.00s. The silent file explicitly reached “Audio loaded. Set your pitch range, then convert.” before we started note detection.

InputAfter conversionMIDI download
440 Hz tone OGG1 note, A4–A4Available; downloaded
Silent OGG0 notes, no pitch rangeNo download link

The tone run displayed “Conversion complete. Adjust filters, preview, or download.” We clicked the download link and retained the actual resulting MIDI. The silence run instead displayed “No notes detected. Try a clearer melody or lower the filters.” Its preview button was disabled. Silence had decoded successfully; there was simply no pitched signal in this controlled input to transcribe.

Replay the distinction on your device

  1. Download the tone example above. Open the converter and choose that file. Wait until loading finishes, keep the listed controls, and select Convert to MIDI. Compare the displayed duration, count and pitch range with our table.
  2. Download your result before choosing the second example. Selecting another file replaces the current result. Then load the silent OGG and convert with the same settings. Look for the no-notes message rather than assuming the file could not be opened.
  3. If your own file loads but returns zero notes, use its input preview to check whether the melody is audible. Review whether the selected pitch range covers it. Range changes apply to the next conversion, so convert again after adjusting Lowest note or Highest note.
  4. The four lower controls filter or transpose detected results. Do not assume they can recover a melody from silence: our second source has none. For a real recording, compare any changed result with the source instead of treating a higher note count as better.

The fixture record includes the generation commands, encoding settings, file sizes and SHA-256 hashes. These let you identify the exact inputs used here. Our successful tone run establishes that these particular Vorbis files work in this test; it does not establish support for every OGG file, every encoding or every browser.

What if the OGG does not load?

Check the displayed error before changing detection controls. Our converter accepts one file up to 25 MB and three minutes, and its local decoder must load before compressed media can be processed. If the page reports a decoder-download failure, retry loading the page when its resources are reachable. If it reports that the media cannot be decoded, check the file in your usual audio software and try an exported supported copy.

Changing a filename to end in .ogg does not create compatible audio. This page's examples test one specific encoding; they are not a blanket compatibility promise. The WAV guide offers a separate controlled example if you need a reference input in that format.

What is in the MIDI?

The download holds one melody track of notes, not the OGG's original instrument sound. Preview uses a simple synthesizer. Review timing and pitch in your music software before using the result. This site does not export sheet music, PDF or MusicXML.

Is my audio uploaded?

Audio decoding and note detection run in your browser. Your audio is not uploaded. The site uses Google Analytics for visit statistics, and ordinary requests load the page and decoder. Download the MIDI you want to keep before closing or reloading the page.