{
  "test_date": "2026-10-19",
  "page": "https://midilot.com/wav-to-midi",
  "base_commit": "7df8a3051f9c3ba9bea6d887babf65ed865e76e9",
  "method": "Chrome native file chooser and native actual MIDI download; mido 1.3.3 independently parsed",
  "input_source": "Original constructed PCM sine with fades; not human voice or song",
  "input_formula": "round(0.5*min(1,i/40,(frames-1-i)/40)*sin(2*pi*261.625565*i/8000)*32767)",
  "inputs": [
    {
      "file": "minimum-1992-frames.wav",
      "frames": 1992,
      "sample_rate": 8000,
      "duration_seconds": 0.249,
      "duration_formula": "1992 / 8000",
      "bytes": 4028,
      "sha256": "496da54ae3f438a1fefc0d410305401f5498da64402e76876f1db74b3f5ffc76"
    },
    {
      "file": "minimum-2000-frames.wav",
      "frames": 2000,
      "sample_rate": 8000,
      "duration_seconds": 0.25,
      "duration_formula": "2000 / 8000",
      "bytes": 4044,
      "sha256": "d587248aa1956e8a0c2f9f791fd15a35639d6625392bad0d25ff697023c56ed2"
    },
    {
      "prepared_on": "2026-10-19",
      "frames": 4000,
      "sample_rate": 8000,
      "duration_seconds": 0.5,
      "duration_formula": "4000 / 8000",
      "bytes": 8044,
      "sha256": "ab77d18d22122d3b694d9fedf3965584310f4fc1e7a6020c6ee5758b62b6a7ce",
      "generation_formula": "Same PCM sine/fade formula as original two minimum-duration inputs, with frames=4000",
      "file": "minimum-control-4000-frames.wav"
    }
  ],
  "ui_0249": {
    "downloadHref": null,
    "file": "minimum-1992-frames.wav",
    "resultHidden": true,
    "rows": [],
    "status": "This audio is too short to analyze. Choose a longer recording."
  },
  "ui_025": {
    "downloadHref": null,
    "file": "minimum-2000-frames.wav",
    "resultHidden": true,
    "rows": [],
    "status": "No clear melody notes were detected. Try a clean, louder single-note recording."
  },
  "ui_control": {
    "downloadName": "minimum-control-4000-frames-notes.mid",
    "file": "minimum-control-4000-frames.wav",
    "resultHidden": false,
    "rows": [
      "1\tC4\t0.00 s\t0.33 s"
    ],
    "status": "MIDI file ready to download."
  },
  "control_midi": {
    "bytes": 56,
    "sha256": "c9c46e3ca56cfb43ccc8c577c2c0638e1e7da12c466d384a00a17dc159fdbc42",
    "format": 0,
    "tracks": 1,
    "ppq": 480,
    "notes": [
      {
        "midi": 60,
        "start_seconds": 0,
        "end_seconds": 0.325,
        "duration_seconds": 0.325,
        "velocity": 88
      }
    ],
    "messages": [
      {
        "elapsed_seconds": 0,
        "message": {
          "type": "track_name",
          "name": "Local Melo",
          "time": 0
        }
      },
      {
        "elapsed_seconds": 0,
        "message": {
          "type": "set_tempo",
          "tempo": 500000,
          "time": 0
        }
      },
      {
        "elapsed_seconds": 0,
        "message": {
          "type": "note_on",
          "time": 0,
          "channel": 0,
          "note": 60,
          "velocity": 88
        }
      },
      {
        "elapsed_seconds": 0.325,
        "message": {
          "type": "note_off",
          "time": 0.325,
          "channel": 0,
          "note": 60,
          "velocity": 0
        }
      },
      {
        "elapsed_seconds": 0.325,
        "message": {
          "type": "end_of_track",
          "time": 0
        }
      }
    ],
    "native_file_after_test_start": true
  },
  "implementation_derived_explanation": {
    "analysis_rate": 11025,
    "window_size": 2048,
    "hop_size": 256,
    "downsampled_length_formula": "floor(0.25 * 11025) = 2756",
    "complete_window_count_formula": "floor((2756 - 2048) / 256) + 1 = 3",
    "required_frames_formula": "max(4, round(0.085 * 11025 / 256)) = 4",
    "source": "app.js detectNotes at the pinned GitHub commit; calculation from implementation, not browser-internal instrumentation",
    "claim": "A 0.25-second decoded input has only three complete analysis windows; a retained note requires at least four. Passing the duration precheck alone therefore does not guarantee notes."
  },
  "control_note_end_minus_input_end_formula": "0.325 - 0.500 = -0.175 seconds",
  "accuracy_rate": null,
  "performance_benchmark": false,
  "converter_algorithm_changed": false,
  "limits": "Three synthetic inputs. Minimum file duration and retained-note requirements are separate checks; these results do not measure real-song accuracy."
}
