YouTube-to-MIDI cleanup

Extra notes in your MIDI? Raise the minimum note length first.

Short duplicate events often appear at the edge of a sustained note. Increase the minimum note length until those fragments disappear, then listen again before changing note sensitivity. Do not quantize first: quantizing moves note starts, but it does not decide which notes are false.

Open the YouTube to MIDI file converter

Local browser test

One setting removed five edge fragments

We ran a self-generated 128 kbps MP3 containing four one-second tones—A4, C5, E5, and G5—through this site's browser converter at a note threshold of 0.25. Only the minimum note length changed between runs.

Minimum lengthMIDI eventsObserved result
0.02 seconds9All four tones plus five short edge fragments
0.06 seconds6Four main tones plus two short splits
0.10 seconds4A4, C5, E5, and G5; one event per source tone

What this proves: the minimum-length control removed short fragments in this controlled file. It does not prove that 0.10 seconds is right for every recording; fast ornaments and staccato notes may be shorter than that.

After cleanup: MIDI Agent is a text-to-MIDI AI music plugin for a DAW that can help develop editable melody, chord, drum, and bassline parts from prompts.

Explore MIDI Agent

How to remove extra notes without erasing the performance

  1. Keep an untouched copy of the first MIDI draft.
  2. Start with the converter's default note threshold and raise only the minimum note length.
  3. Stop when obvious clicks and edge fragments disappear.
  4. Compare the new draft with the audio around fast runs, grace notes, and staccato passages.
  5. If a real short note vanished, lower the minimum slightly and delete the remaining false event manually.

A global filter is useful for repeated tiny fragments, but a piano roll is safer for one isolated mistake. Delete one bad note by hand rather than making the whole transcription less sensitive.

Why quantizing is not the first fix

Quantizing aligns note starts and, in some editors, note ends to a rhythmic grid. It can tighten a valid performance, but an extra event remains an extra event after it has been moved to the grid. Remove false notes first. Then set the project tempo and align the first clear downbeat before applying light quantization.

When to change note sensitivity instead

Use note sensitivity when the problem is broader than a few short fragments. If quiet background pitches are appearing throughout the file, a stricter threshold can reduce them. If intended soft notes are missing, a more permissive threshold can recover them, but it may also add false detections. Change one control at a time so you know which adjustment helped.

In the same controlled test, changing the note threshold from 0.25 to 0.15 increased the result from four events to nine even with the minimum note length set to 0.30 seconds. That is a test-file observation, not a universal preset.

Check the audio before blaming the MIDI editor

A clean solo line is easier to transcribe than a full mix with vocals, drums, bass, and harmony overlapping. If the draft contains clusters of unrelated pitches, return to the audio stage: choose a passage dominated by one instrument, reduce background noise if you can do so without damaging the target, and transcribe a shorter section. The YouTube to MIDI page accepts an audio file you already have permission to use; it does not fetch a video link.

A practical piano-roll inspection

Solo the MIDI instrument and compare four short regions against the source audio: the first attack, one sustained note, the fastest phrase, and the final release. Look for a duplicate at an attack, a gap inside a held note, an octave error, or a fragment after the release. Fix those local problems before changing the whole file.

What to keep in the final MIDI

Keep pitches you can hear, intentional timing differences, useful velocity changes, and note lengths that match the musical articulation. Remove events caused by clicks, bleed, or split note edges. MIDI is editable note data rather than a copy of the recording, so the goal is a useful draft that follows the part—not a byte-for-byte representation of the audio.