MIDI troubleshooting guide

Why audio to MIDI finds no stable pitch

“No stable pitched notes” means the selected phrase did not yield a usable dominant pitch event. In the controlled onset check, a 40 ms attack was retained through tested noise 0.3, then missed from 0.4 upward.

Controlled onset result where a 40 millisecond attack retains an event through noise 0.3 and produces no event from noise 0.4 upward.
Do not try to repair an empty result first; change the source evidence.
Short answer: choose a shorter, exposed phrase with one audible melody. Do not draw a melody into an empty piano roll from memory. Best with one exposed melody, not chords or a full mix.

Choose a clearer file

Controlled noisy-onset check

Declared C4 with 40 ms attack Median across 10 fixtures Result
Noise 0.0 to 0.3 1 retained event; 0 missed A stable event appeared.
Noise 0.4 to 0.7 0 events; 1 missed No matching stable event appeared.

Retry the source, not the piano roll

  1. Trim to one phrase you can hum back.
  2. Choose a point without a chord, drum, bass entrance, or another voice.
  3. Retry before changing settings repeatedly.
  4. Only edit after the broad contour is present.

Fixture conditions and limits

Each point used 10 generated mono 44.1 kHz 16-bit PCM WAV fixtures, a synthetic voice-like harmonic source, Balanced Melody / solo instrument mode, a 2048-sample analysis window, and a 1024-sample hop. An onset matched when it was within 50 cents of C4 and overlapped the source by at least 50%. Detector SHA-256: DDA185AC8FB6A179A4FCFA73FD4197ACC95B8B6F59B233F5D3E330F596309F9F.

These are controlled source checks, not a general noise threshold or universal accuracy promise.

Related: short notes · audio-to-MIDI source checks · clean up a usable sketch