Back to blog

How to Convert Audio to MIDI Without Creating a Mess

A practical workflow for choosing the right source, cleaning detected notes and exporting useful MIDI from MP3, WAV or other audio.

Sep 21, 2026· Tonera

Audio-to-MIDI conversion works best when you treat it as transcription, not file transcoding. An MP3 contains sound samples; a MIDI file contains events such as pitch, start time, duration and velocity. A model has to infer those events from the recording, so the source and the cleanup decisions both matter.

Start with the clearest source

Use an isolated instrument or voice whenever possible. A dry piano track, guitar melody or single vocal line gives the pitch model clear note attacks. A mastered song contains vocals, bass, chords, drums and effects in the same signal, so several plausible pitches can overlap at once.

Prefer the original WAV or FLAC export when you have it. A good MP3 still works, but converting that MP3 to WAV first does not restore information removed by compression. Upload the original file directly and avoid an unnecessary re-encode.

Choose the matching Tonera tool

Standard conversion runs Basic Pitch in your browser. The source audio stays on the device, and the resulting note candidates can be adjusted before export.

Read the note map before downloading

Do not judge the result only by the number of detected notes. Listen to the source and look for three common problems:

  1. Tiny notes between real notes. These often come from reverb, breath noise or string resonance. Increase the minimum note duration or frame threshold.
  2. Missing quiet attacks. Lower the onset threshold gradually. If you lower it too far, background noise begins to look like notes.
  3. Notes in the wrong register. Narrow the frequency range to the instrument you actually want.

The useful setting is the one that preserves the musical phrase, not the one that produces the largest event count.

Use stem separation only when it solves the real problem

Thresholds cannot separate two instruments playing overlapping pitches. For a complete mix, isolate the vocal, bass or other target stem first, then transcribe that stem. Tonera's optional high-precision mode performs this extra server-side step; ordinary browser conversion remains free and local.

Export for the next task

Choose MIDI when you want to edit notes in a DAW. Choose MusicXML when notation layout and score editing matter. PDF is useful for a readable printout, while ABC and chord exports are compact formats for sharing or lightweight workflows.

Always keep the source recording. A transcription is an editable interpretation, not a lossless replacement for the audio.