MIDI troubleshooting guide

Do audio notes need silence between them for MIDI?

Not in this controlled changing-note check. C4 followed by E4, each 120 ms long, remained two retained MIDI events with gaps from zero through 100 ms.

Two 120 millisecond notes remain separate MIDI events with gaps from zero to 100 milliseconds.
For two clearly different pitches of sufficient duration, the tested silent gap was not the deciding variable.
Short answer: do not add silence just to make two clear changing pitches separate. First check note duration and whether the pitch actually changes. Best with one exposed melody, not chords or a full mix.

Convert one clear melody

Controlled gap check

C4 then E4, 120 ms each Median across 10 fixtures Result
0, 10, 20, 30, 40 ms gap 2 retained; 0 missed; 0 extra Two events remained separate.
50, 75, 100 ms gap 2 retained; 0 missed; 0 extra Same median result.

Why a real phrase can still merge

This is not a promise that every legato performance will separate. The test changed only the silent gap between two distinct pitches. A short note, a slide, noisy onset, or competing chord tone changes a different variable. Use short-note checks or pitch-slide checks for those cases.

Fixture conditions and limits

Each point used 10 generated mono 44.1 kHz 16-bit PCM WAV fixtures with a synthetic voice-like harmonic source, Melody / solo instrument mode, Balanced sensitivity, a 2048-sample analysis window, and a 1024-sample hop. A retained note required exactly one output within 50 cents and with at least 50% overlap. Detector SHA-256: DDA185AC8FB6A179A4FCFA73FD4197ACC95B8B6F59B233F5D3E330F596309F9F.

These are controlled source checks, not a universal legato, voice, instrument, song, or accuracy promise.

Related: short MIDI notes · pitch slides · source-backed cleanup