{
 "test": "Piano to MIDI accuracy test, mp3tomidiflow.com in-browser engine",
 "runDate": "2026-10-19 (Asia/Shanghai)",
 "engine": {
  "file": "/vendor/transcribe.js (the live site worker, Basic Pitch model, onset 0.5 / frame 0.3 / min length 8 frames)",
  "sha256": {
   "transcribe.js": "3ffca8bd83f1ff678327b155e1a94a986f0dbe0d33a74590a4782eb6f3c14d0c",
   "model.json": "1ed1aaee3409ec1dc098c8b01f430c0911f6fe9412e7af8086750f9e8f302f68",
   "group1-shard1of1.bin": "b142a95737a52e1e412d5f92e73d8bb80dfe8d04941acc0702f11f4524fb377c"
  },
  "runtime": "Google Chrome (headless, box) via playwright-core; audio passed as 22,050 Hz mono float32, same as the site after decoding"
 },
 "fixtures": "8 self-generated MIDI files (gen.py) rendered with FluidSynth 2.4.4 + FluidR3_GM.sf2, program 0 Acoustic Grand Piano, 44.1 kHz, gain 0.6, then ffmpeg -ac 1 -ar 22050 -f f32le",
 "scoring": "same pitch and onset within +/-50 ms, one-to-one, closest onset first (score.py); extraAtHarmonicOfTrueNote = unmatched output 12, 19 or 24 semitones from a true note starting within 50 ms",
 "repeatability": "two full runs gave byte-identical raw-output.json",
 "files": {
  "1-slow-melody.mid": "36534a7c0ed162d5f872cb9096c13fcfbdd50fa5537c58dbadd7f4e6e18199c5",
  "2-fast-16ths.mid": "1babd8b99f04c04e88f52ca9eb2eee57d1d7f6f1d141636ce97ee15bb34e1661",
  "3-block-triads.mid": "911345458eca06b2bf3fdb196204d03a0dd1c01959f4a31d421911c07a6288f7",
  "4-melody-plus-bass.mid": "11ea6c9e980085335c4e948ffb655e12d310a318ef5f7b1d073c6a62be8d30aa",
  "5-low-register.mid": "da5b53c104c9e610d15e53588084948e4ce37b2a76c4ef00c263059dbfe82f61",
  "6-high-register.mid": "95fedc43c3684ff203c7126abba9a201a7de34fa4cc72cd5349dd20599c4b996",
  "7-repeated-note.mid": "b34a1802d4bad1f56e383f0501764003812ff0d4f6d5aa2e9b6bac083828ef45",
  "8-four-note-chords.mid": "a8ddc4d8b8dc8ea6768f03d655d6496b08e457d5df28c227c4404dc82298e2d6",
  "gen.py": "94d243dc803c6ce8c6d5e9aa3bd85744e3500d7e6d5fb7c95fbe8f2f694b612f",
  "ground-truth.json": "6a2acc951291921e81eed8a4e729f8d115e8e68a9c33c63116a64e28bb3f14e8",
  "harness-page.html.txt": "5bb4346c89f6124b1e5149e3951df2708f44009000ddbdb7b6b3739e1c901e01",
  "raw-output.json": "f0cdcdc7e84bc78550b25b3568dda9f18ca5ce14004959056987bfce53655d1f",
  "run.mjs": "bf88b48b8e6cf26ee414b576683c9419add62c4b736cdf1075bb76a05da9e0a3",
  "score.py": "0e5c8e2230d58ec339abbed52f8723d47dd4cf853f3c8c22e5cd483cc467b5f1",
  "scores.json": "9303a873678c16cbd89ebc8f73fb16a53411072e0875f8458f0ec12489557af8"
 },
 "perClip": {
  "1-slow-melody": {
   "truthNotes": 15,
   "outputNotes": 18,
   "matched": 15,
   "missed": 0,
   "extra": 3,
   "extraAtHarmonicOfTrueNote": 1,
   "precision": 0.833,
   "recall": 1.0,
   "f1": 0.909,
   "onsetErrorMs": {
    "mean": 3.6,
    "medianAbs": 5.4,
    "maxAbs": 9.8
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 60,
     "onset": 9.85,
     "dur": 0.814
    },
    {
     "pitch": 76,
     "onset": 1.509,
     "dur": 0.139
    },
    {
     "pitch": 72,
     "onset": 10.537,
     "dur": 0.116
    }
   ]
  },
  "2-fast-16ths": {
   "truthNotes": 15,
   "outputNotes": 18,
   "matched": 15,
   "missed": 0,
   "extra": 3,
   "extraAtHarmonicOfTrueNote": 0,
   "precision": 0.833,
   "recall": 1.0,
   "f1": 0.909,
   "onsetErrorMs": {
    "mean": 4.5,
    "medianAbs": 4.6,
    "maxAbs": 23.6
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 84,
     "onset": 4.925,
     "dur": 0.209
    },
    {
     "pitch": 83,
     "onset": 3.287,
     "dur": 0.128
    },
    {
     "pitch": 81,
     "onset": 3.287,
     "dur": 0.128
    }
   ]
  },
  "3-block-triads": {
   "truthNotes": 24,
   "outputNotes": 45,
   "matched": 24,
   "missed": 0,
   "extra": 21,
   "extraAtHarmonicOfTrueNote": 11,
   "precision": 0.533,
   "recall": 1.0,
   "f1": 0.696,
   "onsetErrorMs": {
    "mean": 10.3,
    "medianAbs": 9.0,
    "maxAbs": 28.9
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 48,
     "onset": 9.85,
     "dur": 0.141
    },
    {
     "pitch": 36,
     "onset": 9.85,
     "dur": 1.174
    },
    {
     "pitch": 72,
     "onset": 7.516,
     "dur": 0.698
    },
    {
     "pitch": 48,
     "onset": 7.516,
     "dur": 0.163
    },
    {
     "pitch": 62,
     "onset": 6.505,
     "dur": 0.116
    },
    {
     "pitch": 55,
     "onset": 6.494,
     "dur": 0.151
    },
    {
     "pitch": 50,
     "onset": 5.506,
     "dur": 0.186
    },
    {
     "pitch": 45,
     "onset": 4.507,
     "dur": 0.406
    },
    {
     "pitch": 72,
     "onset": 3.519,
     "dur": 0.651
    },
    {
     "pitch": 48,
     "onset": 3.519,
     "dur": 0.163
    },
    {
     "pitch": 55,
     "onset": 2.497,
     "dur": 0.151
    },
    {
     "pitch": 72,
     "onset": 0.511,
     "dur": 0.662
    },
    {
     "pitch": 48,
     "onset": 0.511,
     "dur": 0.163
    },
    {
     "pitch": 60,
     "onset": 9.932,
     "dur": 0.733
    },
    {
     "pitch": 48,
     "onset": 10.212,
     "dur": 0.801
    },
    {
     "pitch": 64,
     "onset": 10.119,
     "dur": 0.209
    },
    {
     "pitch": 67,
     "onset": 10.397,
     "dur": 0.557
    },
    {
     "pitch": 64,
     "onset": 10.571,
     "dur": 0.441
    },
    {
     "pitch": 45,
     "onset": 5.297,
     "dur": 0.104
    },
    {
     "pitch": 43,
     "onset": 7.005,
     "dur": 0.116
    },
    {
     "pitch": 74,
     "onset": 5.889,
     "dur": 0.141
    }
   ]
  },
  "4-melody-plus-bass": {
   "truthNotes": 24,
   "outputNotes": 36,
   "matched": 24,
   "missed": 0,
   "extra": 12,
   "extraAtHarmonicOfTrueNote": 5,
   "precision": 0.667,
   "recall": 1.0,
   "f1": 0.8,
   "onsetErrorMs": {
    "mean": 5.4,
    "medianAbs": 6.8,
    "maxAbs": 20.6
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 72,
     "onset": 9.85,
     "dur": 1.325
    },
    {
     "pitch": 60,
     "onset": 9.85,
     "dur": 1.325
    },
    {
     "pitch": 48,
     "onset": 9.85,
     "dur": 0.361
    },
    {
     "pitch": 60,
     "onset": 7.993,
     "dur": 0.894
    },
    {
     "pitch": 60,
     "onset": 7.516,
     "dur": 0.116
    },
    {
     "pitch": 60,
     "onset": 4.507,
     "dur": 0.116
    },
    {
     "pitch": 64,
     "onset": 2.01,
     "dur": 0.325
    },
    {
     "pitch": 57,
     "onset": 1.498,
     "dur": 0.302
    },
    {
     "pitch": 48,
     "onset": 1.022,
     "dur": 0.488
    },
    {
     "pitch": 60,
     "onset": 0.511,
     "dur": 0.453
    },
    {
     "pitch": 48,
     "onset": 10.363,
     "dur": 0.801
    },
    {
     "pitch": 41,
     "onset": 5.39,
     "dur": 0.116
    }
   ]
  },
  "5-low-register": {
   "truthNotes": 10,
   "outputNotes": 24,
   "matched": 7,
   "missed": 3,
   "extra": 17,
   "extraAtHarmonicOfTrueNote": 9,
   "precision": 0.292,
   "recall": 0.7,
   "f1": 0.412,
   "onsetErrorMs": {
    "mean": -1.3,
    "medianAbs": 7.5,
    "maxAbs": 34.8
   },
   "missedNotes": [
    {
     "pitch": 21,
     "onset": 0.5,
     "offset": 1.05
    },
    {
     "pitch": 24,
     "onset": 1.1,
     "offset": 1.65
    },
    {
     "pitch": 28,
     "onset": 1.7,
     "offset": 2.25
    }
   ],
   "extraNotes": [
    {
     "pitch": 60,
     "onset": 8.202,
     "dur": 0.975
    },
    {
     "pitch": 48,
     "onset": 8.202,
     "dur": 0.975
    },
    {
     "pitch": 60,
     "onset": 5.912,
     "dur": 0.187
    },
    {
     "pitch": 45,
     "onset": 2.904,
     "dur": 0.522
    },
    {
     "pitch": 43,
     "onset": 2.312,
     "dur": 0.453
    },
    {
     "pitch": 40,
     "onset": 1.73,
     "dur": 0.57
    },
    {
     "pitch": 47,
     "onset": 1.718,
     "dur": 0.186
    },
    {
     "pitch": 43,
     "onset": 1.115,
     "dur": 0.488
    },
    {
     "pitch": 36,
     "onset": 1.103,
     "dur": 0.685
    },
    {
     "pitch": 40,
     "onset": 0.511,
     "dur": 0.499
    },
    {
     "pitch": 33,
     "onset": 0.488,
     "dur": 0.627
    },
    {
     "pitch": 40,
     "onset": 3.985,
     "dur": 0.104
    },
    {
     "pitch": 28,
     "onset": 1.753,
     "dur": 0.454
    },
    {
     "pitch": 45,
     "onset": 8.689,
     "dur": 0.43
    },
    {
     "pitch": 45,
     "onset": 8.306,
     "dur": 0.128
    },
    {
     "pitch": 60,
     "onset": 6.61,
     "dur": 0.174
    },
    {
     "pitch": 45,
     "onset": 6.598,
     "dur": 0.209
    }
   ]
  },
  "6-high-register": {
   "truthNotes": 9,
   "outputNotes": 6,
   "matched": 5,
   "missed": 4,
   "extra": 1,
   "extraAtHarmonicOfTrueNote": 0,
   "precision": 0.833,
   "recall": 0.556,
   "f1": 0.667,
   "onsetErrorMs": {
    "mean": -1.4,
    "medianAbs": 7.5,
    "maxAbs": 11.6
   },
   "missedNotes": [
    {
     "pitch": 96,
     "onset": 2.9,
     "offset": 3.45
    },
    {
     "pitch": 103,
     "onset": 4.1,
     "offset": 4.65
    },
    {
     "pitch": 105,
     "onset": 4.7,
     "offset": 5.25
    },
    {
     "pitch": 108,
     "onset": 5.3,
     "offset": 5.85
    }
   ],
   "extraNotes": [
    {
     "pitch": 22,
     "onset": 8.202,
     "dur": 0.244
    }
   ]
  },
  "7-repeated-note": {
   "truthNotes": 12,
   "outputNotes": 13,
   "matched": 12,
   "missed": 0,
   "extra": 1,
   "extraAtHarmonicOfTrueNote": 0,
   "precision": 0.923,
   "recall": 1.0,
   "f1": 0.96,
   "onsetErrorMs": {
    "mean": 6.5,
    "medianAbs": 6.5,
    "maxAbs": 14.7
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 60,
     "onset": 4.925,
     "dur": 1.267
    }
   ]
  },
  "8-four-note-chords": {
   "truthNotes": 16,
   "outputNotes": 35,
   "matched": 16,
   "missed": 0,
   "extra": 19,
   "extraAtHarmonicOfTrueNote": 3,
   "precision": 0.457,
   "recall": 1.0,
   "f1": 0.627,
   "onsetErrorMs": {
    "mean": 9.9,
    "medianAbs": 9.3,
    "maxAbs": 19.1
   },
   "missedNotes": [],
   "extraNotes": [
    {
     "pitch": 60,
     "onset": 6.563,
     "dur": 0.302
    },
    {
     "pitch": 48,
     "onset": 6.563,
     "dur": 0.476
    },
    {
     "pitch": 36,
     "onset": 6.563,
     "dur": 0.476
    },
    {
     "pitch": 67,
     "onset": 4.925,
     "dur": 0.43
    },
    {
     "pitch": 64,
     "onset": 4.925,
     "dur": 0.464
    },
    {
     "pitch": 60,
     "onset": 4.925,
     "dur": 0.128
    },
    {
     "pitch": 48,
     "onset": 4.925,
     "dur": 0.673
    },
    {
     "pitch": 36,
     "onset": 4.925,
     "dur": 0.36
    },
    {
     "pitch": 60,
     "onset": 3.519,
     "dur": 0.791
    },
    {
     "pitch": 43,
     "onset": 2.509,
     "dur": 0.778
    },
    {
     "pitch": 41,
     "onset": 1.498,
     "dur": 0.559
    },
    {
     "pitch": 67,
     "onset": 6.622,
     "dur": 0.406
    },
    {
     "pitch": 36,
     "onset": 3.902,
     "dur": 0.419
    },
    {
     "pitch": 64,
     "onset": 6.633,
     "dur": 0.36
    },
    {
     "pitch": 36,
     "onset": 1.115,
     "dur": 0.116
    },
    {
     "pitch": 41,
     "onset": 2.196,
     "dur": 0.151
    },
    {
     "pitch": 60,
     "onset": 5.204,
     "dur": 0.337
    },
    {
     "pitch": 72,
     "onset": 5.076,
     "dur": 0.104
    },
    {
     "pitch": 67,
     "onset": 4.763,
     "dur": 0.151
    }
   ]
  }
 },
 "totals": {
  "truthNotes": 125,
  "outputNotes": 195,
  "matched": 118,
  "recall": 0.944,
  "precision": 0.605
 },
 "harnessNote": "run.mjs loads harness-page.html (renamed .txt here) from a local web server next to a copy of /vendor/"
}