AudioNote MIDI.
LOCAL AUDIO WORKSPACE
Open the tool
FIELD GUIDE / MIDI EDITING

Note Length and Gate Time After Audio-to-MIDI Conversion

Converted note lengths are a sketch, not a measurement. A converter has to guess where each note ends, and reverb, sustain or a decaying tail can push that guess later than the performer intended. The good news is that note length is one of the easiest things to correct in a DAW—as long as you change it on a copy and keep the phrasing that was already right.

What gate time actually means

In MIDI, a note is two events: a note-on that starts it and a note-off that ends it. Gate time is the span between those two events—how long the key is held. It is independent of pitch (which note) and velocity (how hard it is struck). When you drag the right edge of a note in a piano roll, you are changing gate time.

This is separate from note position. Moving a note earlier or later on the timeline changes when it starts; changing its length changes how long it sustains. Keeping the two ideas apart is the key to editing a converted file without undoing the parts that already sound right.

Gate time is the span from note-on to note-off; reverb tails can stretch the written note beyond the performed sound
Original schematic, not a recording or a conversion benchmark. The written note-off can drift later when a tail decays slowly.

Why converted note lengths drift

Pitch tracking follows a fundamental as it rises and falls. Deciding where a note ends is a separate judgement: the tracker watches for the sound to fade or for a new pitch to take over. Anything that keeps energy in the old pitch after the performer has moved on can stretch the written note.

  • Reverb and sustain. A decaying tail keeps the previous pitch detectable, so the note-off lands late. Notes can overlap or run together.
  • Legato phrasing. When one note flows straight into the next with no silence, there is no clean gap for the tracker to use as a boundary.
  • Slow attacks. A soft fade-in means the pitch becomes clearly detectable after the audible start, which can make the written note begin late and feel shorter.
  • Noise or room tone. Low-level background energy can keep a threshold from being crossed, extending a note past its real end.

None of this means the conversion failed. It means the note-off points are estimates made from audio that does not contain a literal MIDI note-off event. Real performances rarely stop and start with clean silence.

Diagnose before you shorten everything

Open the MIDI in a piano roll and play it against the source. Then identify which pattern you actually have:

  1. Uniformly too long: every note runs into the next. A modest global reduction of gate time, leaving a small gap, often fixes this.
  2. Uniformly too short: notes feel clipped and staccato. Lengthen slightly, but keep an eye on places where two notes should overlap.
  3. Inconsistent: some notes are right and others drag. Fix the outliers by hand—a global change would ruin the good notes.
  4. Runs of tiny fragments: that is usually a note-splitting problem, not a length problem. See the missing and extra note checklist first.

Work on a duplicate track. Make a small change, loop a short phrase, and compare with the original before applying anything to the whole file.

A low-risk way to adjust length

  1. Duplicate the MIDI region so you can always return to the untouched sketch.
  2. Listen for the intended style. Staccato, legato and sustained notes need different lengths; there is no single correct value.
  3. Adjust in small steps. Shorten or lengthen a visible selection, then listen. Stop as soon as the phrase naturalizes—over-editing sounds mechanical.
  4. Preserve intentional overlaps. In legato lines, a note may need to last until just after the next one begins. Cutting every note to a fixed gap destroys that.
  5. Keep position edits separate. If note starts are also off, handle that with a light quantization pass on a copy—quantize moves positions, not lengths.

Accents are a different axis again. If some notes need more emphasis, edit velocity rather than volume; changing length will not make a note louder.

What AudioNote MIDI does—and does not—control

AudioNote MIDI creates a monophonic melody draft in the browser and writes a standard MIDI file with note names and timing. It does not expose a gate-time slider and it does not preserve the exact note durations of the performance, because the source audio contains no MIDI note-off data to copy. Length is part of the draft you refine in your music software.

If playback sounds unlike the original in other ways, note length is only one suspect. Compare pitch against octave labels, and check why MIDI playback sounds different before assuming the timing is wrong.

Sources and scope

The explanation of note-off estimation is based on how pitch tracking responds to a decaying signal. This guide does not claim a measured duration accuracy or a universal gate-time setting.

More editing checks: quantize note positions · velocity vs volume · sustain pedal in MIDI · pitch bends after conversion

← Back to the Audio to MIDI converter