▥ NOTE FOUNDRYOpen converter ↗
PIANO TO MIDI · VALIDATION

Piano to MIDI: validate every note, not just a download.

With integer-aligned WAV sample bounds, the current detector returned all four notes in the piano-like fixture and all five notes in a second melody. A silent control returned zero. Keep the original WAV and compare the note sequence before arranging.

Open the converter ↗

Published 30 September 2026 · Corrected fixture validation

Three acceptance runs

InputOutput eventsDetected pitches
Four-note piano-like WAV460, 64, 67, 72
Five-note validation WAV555, 59, 62, 67, 71
Silent control0None
Four-note piano-like WAV detected MIDI pitches 60, 64, 67, 72
The four-note validation returns four ordered events.

What was actually fixed

The first local report of one event came from the fixture generator using fractional typed-array indexes for note start times. Those writes were ignored for four notes. The production detector was not changed to fit the fixture; the validation was corrected to use integer sample bounds, and the unchanged detector then returned four and five events. The original and corrected scripts are preserved.

Piano to MIDI validation flow from source WAV to MIDI event count and pitch comparison
Keep the source WAV and compare event count and pitch order before arranging.

Reproduce the validation

  1. Download run-piano-fixture-corrected.cjs for the four-note run.
  2. Download run-five-note.cjs for the five-note run.
  3. Read results.json and five-note-results.json.
  4. Open each MIDI beside its WAV and check pitch order and boundaries.

Piano to MIDI questions

Does a successful download prove every note was detected?

No. Count the events and compare the pitches with the source. The acceptance runs here make that comparison explicit.

What does the silent control show?

A valid silent WAV produced zero events and the “No clear notes found” status.

Does this validate chords?

No. These are isolated single-note melodies. Chord separation needs a separate experiment.

Read the full WAV workflow ↗