{
  "test_date": "2026-10-18",
  "converter_commit_before_message_fix": "6d3f39553b7ca071d3249caeec6fc9497d2892f8",
  "conversion_page": "https://midilot.com/wav-to-midi",
  "method": "Original PCM fixture native Chrome file picker; live production conversion; actual MIDI download independently parsed with mido 1.3.3. Full original WAV hashes checked.",
  "inputs": [
    {
      "file": "duration-300s.wav",
      "frames": 2400000,
      "sample_rate": 8000,
      "channels": 1,
      "sample_bits": 16,
      "duration_seconds": 300.0,
      "duration_formula": "2400000 / 8000",
      "bytes": 4800044,
      "sha256": "28237eb7d69a7857b9f11c21aacd9bb7fd0f191cae20a5e8ad91510da4f64642"
    },
    {
      "file": "duration-300-01s.wav",
      "frames": 2400080,
      "sample_rate": 8000,
      "channels": 1,
      "sample_bits": 16,
      "duration_seconds": 300.01,
      "duration_formula": "2400080 / 8000",
      "bytes": 4800204,
      "sha256": "104f0e97717a8c300882e7ee5df021df4b3bb26bc6ed27df93681318b9f36c30"
    }
  ],
  "generation_formula": "First 8000 samples round(0.5*min(1,i/40,(7999-i)/40)*sin(2*pi*261.625565*i/8000)*32767); remaining samples zero",
  "source_type": "Own generated PCM with a one-second synthetic tone followed by silence; no real recording",
  "exact_300_result": {
    "ui": {
      "download": "duration-300s-notes.mid",
      "resultHidden": false,
      "rows": [
        [
          "1",
          "C4",
          "0.00 s",
          "1.02 s"
        ]
      ],
      "status": "\n          Ready. Valid Standard MIDI File (format 0, 1 track, 480 ticks per quarter note).\n        "
    },
    "midi_path": "/samples/duration-300s-notes.mid",
    "bytes": 56,
    "sha256": "d5b76e0bf641ebd67dcf7743710c1f59cbc7cbd3784d907cb2310bd285c3f511",
    "format": 0,
    "tracks": 1,
    "ppq": 480,
    "notes": [
      {
        "midi": 60,
        "start_seconds": 0,
        "end_seconds": 1.021875,
        "duration_seconds": 1.021875,
        "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": 1.021875,
        "message": {
          "type": "note_off",
          "time": 1.021875,
          "channel": 0,
          "note": 60,
          "velocity": 0
        }
      },
      {
        "elapsed_seconds": 1.021875,
        "message": {
          "type": "end_of_track",
          "time": 0
        }
      }
    ]
  },
  "over_300_result_before_message_fix": {
    "resultHidden": true,
    "rows": [],
    "status": "\n          This file is 5.0 minutes long. The limit is 5 minutes per file.\n        "
  },
  "message_fix": {
    "before": "This file is 5.0 minutes long. The limit is 5 minutes per file.",
    "after": "This file exceeds the 5-minute limit (300 seconds), including silence. Trim the recording and try again.",
    "condition_unchanged": "decoded.duration > MAX_DURATION_SECONDS, MAX_DURATION_SECONDS = 300",
    "local_validation": {
      "client": 390,
      "resultHidden": true,
      "rows": [],
      "scroll": 390,
      "status": "This file exceeds the 5-minute limit (300 seconds), including silence. Trim the recording and try again.",
      "width": 390
    }
  },
  "fixture_generator": "/assets/duration-fixtures.js",
  "accuracy_rate": null,
  "limits": "Two constructed duration-boundary inputs; a one-second tone followed by silence. Not a long-song transcription quality test; no runtime performance claim."
}
