{
  "at": "2026-11-12T14:06:10.143Z",
  "method": "New one-per-input production browser conversions at 0/-12/-24dB source gain; all MIDI events independently decoded and matched to original browser reports",
  "caseInterpretation": "Lower decoded MP3 input level did not imply lower exported MIDI note-on velocity in these observations. No cause, universal amplitude response, optimal gain or perceived playback loudness is established.",
  "rmsDefinition": "Decode each encoded MP3 through FFmpeg to 44100Hz mono float32; whole-clip RMS=sqrt(sum(x*x)/N), dBFS=20*log10(RMS), sample peak=max(abs(x)); these are offline decoder measurements, not browser buffer or analog loudness measurements.",
  "cases": [
    {
      "name": "gain-0db.mp3",
      "gainDb": 0,
      "intendedAmplitudeMultiplier": 1,
      "bytes": 97009,
      "sha256": "7ffb6f0be0c16bb36be60669ad384354e72d0198ef7ebf0d952cb2e1a1004a24",
      "decodedSampleRate": 44100,
      "decodedSamples": 264600,
      "decodedDurationSeconds": 6,
      "decodedWholeClipRMS": 0.1403122906082766,
      "decodedWholeClipRMSDbFS": -17.058085708503647,
      "decodedSamplePeak": 0.3979284167289734,
      "decodedSamplePeakDbFS": -8.00390092112237,
      "midi": "gain-0db.mid",
      "conversionReport": "gain-0db-conversion.json",
      "outputSHA256": "144940171ba77bb32ebacfd884bf554d7bfa4a7d44836dea2a98604ee48b5197",
      "notes": [
        {
          "midi": 60,
          "time": 0.290625,
          "duration": 0.3135416666666666,
          "velocity": 0.7086614173228346,
          "rawVelocity": 90
        },
        {
          "midi": 60,
          "time": 0.89375,
          "duration": 0.30208333333333326,
          "velocity": 0.7165354330708661,
          "rawVelocity": 91
        },
        {
          "midi": 60,
          "time": 1.4979166666666666,
          "duration": 0.31354166666666683,
          "velocity": 0.7165354330708661,
          "rawVelocity": 91
        },
        {
          "midi": 60,
          "time": 2.090625,
          "duration": 0.30208333333333304,
          "velocity": 0.7165354330708661,
          "rawVelocity": 91
        },
        {
          "midi": 60,
          "time": 2.6947916666666667,
          "duration": 0.3020833333333335,
          "velocity": 0.7165354330708661,
          "rawVelocity": 91
        },
        {
          "midi": 60,
          "time": 3.298958333333333,
          "duration": 0.3020833333333335,
          "velocity": 0.7244094488188977,
          "rawVelocity": 92
        },
        {
          "midi": 60,
          "time": 3.902083333333333,
          "duration": 0.2916666666666665,
          "velocity": 0.7086614173228346,
          "rawVelocity": 90
        },
        {
          "midi": 60,
          "time": 4.495833333333334,
          "duration": 0.30208333333333304,
          "velocity": 0.7086614173228346,
          "rawVelocity": 90
        }
      ],
      "noteCount": 8,
      "pitches": [
        60
      ],
      "rawVelocities": [
        90,
        91,
        91,
        91,
        91,
        92,
        90,
        90
      ],
      "velocityRange": [
        90,
        92
      ],
      "parameters": {
        "onsetThreshold": 0.5,
        "frameThreshold": 0.3,
        "minNoteFrames": 11,
        "modelSampleRate": 22050
      },
      "engine": "@spotify/basic-pitch 1.0.1 / TensorFlow.js WASM 3.21.0 in Web Worker",
      "backend": "wasm",
      "at": "2026-11-12T14:04:55.712Z",
      "rawVelocityByteCheck": true
    },
    {
      "name": "gain-minus12db.mp3",
      "gainDb": -12,
      "intendedAmplitudeMultiplier": 0.251188643150958,
      "bytes": 97009,
      "sha256": "3530e13c3faa24bb0d998cd52d16e4e22ff5685aeb7e92cb4347bc225c81d7c9",
      "decodedSampleRate": 44100,
      "decodedSamples": 264600,
      "decodedDurationSeconds": 6,
      "decodedWholeClipRMS": 0.03524575994626746,
      "decodedWholeClipRMSDbFS": -29.0578624203716,
      "decodedSamplePeak": 0.1001868024468422,
      "decodedSamplePeakDbFS": -19.983789681552384,
      "midi": "gain-minus12db.mid",
      "conversionReport": "gain-minus12db-conversion.json",
      "outputSHA256": "20e45ad26bd3ff983282d0d8c59f2619bdce7f86b3599a9ec3523c29d9f49daa",
      "notes": [
        {
          "midi": 60,
          "time": 0.290625,
          "duration": 0.30208333333333326,
          "velocity": 0.7480314960629921,
          "rawVelocity": 95
        },
        {
          "midi": 60,
          "time": 0.89375,
          "duration": 0.30208333333333326,
          "velocity": 0.7401574803149606,
          "rawVelocity": 94
        },
        {
          "midi": 60,
          "time": 1.4979166666666666,
          "duration": 0.3020833333333335,
          "velocity": 0.7559055118110236,
          "rawVelocity": 96
        },
        {
          "midi": 60,
          "time": 2.090625,
          "duration": 0.30208333333333304,
          "velocity": 0.7401574803149606,
          "rawVelocity": 94
        },
        {
          "midi": 60,
          "time": 2.683333333333333,
          "duration": 0.31354166666666705,
          "velocity": 0.7401574803149606,
          "rawVelocity": 94
        },
        {
          "midi": 60,
          "time": 3.298958333333333,
          "duration": 0.3020833333333335,
          "velocity": 0.7480314960629921,
          "rawVelocity": 95
        },
        {
          "midi": 60,
          "time": 3.902083333333333,
          "duration": 0.2916666666666665,
          "velocity": 0.7480314960629921,
          "rawVelocity": 95
        },
        {
          "midi": 60,
          "time": 4.495833333333334,
          "duration": 0.30208333333333304,
          "velocity": 0.7401574803149606,
          "rawVelocity": 94
        }
      ],
      "noteCount": 8,
      "pitches": [
        60
      ],
      "rawVelocities": [
        95,
        94,
        96,
        94,
        94,
        95,
        95,
        94
      ],
      "velocityRange": [
        94,
        96
      ],
      "parameters": {
        "onsetThreshold": 0.5,
        "frameThreshold": 0.3,
        "minNoteFrames": 11,
        "modelSampleRate": 22050
      },
      "engine": "@spotify/basic-pitch 1.0.1 / TensorFlow.js WASM 3.21.0 in Web Worker",
      "backend": "wasm",
      "at": "2026-11-12T14:05:15.605Z",
      "rawVelocityByteCheck": true
    },
    {
      "name": "gain-minus24db.mp3",
      "gainDb": -24,
      "intendedAmplitudeMultiplier": 0.06309573444801933,
      "bytes": 97009,
      "sha256": "a84cd4aebdf5096eddb934ac76c575173f09e834491e1641aa7b95f1718ac38d",
      "decodedSampleRate": 44100,
      "decodedSamples": 264600,
      "decodedDurationSeconds": 6,
      "decodedWholeClipRMS": 0.008854035146613037,
      "decodedWholeClipRMSDbFS": -41.05717516792542,
      "decodedSamplePeak": 0.025146955624222755,
      "decodedSamplePeakDbFS": -31.99029169178731,
      "midi": "gain-minus24db.mid",
      "conversionReport": "gain-minus24db-conversion.json",
      "outputSHA256": "603d20d730f239f9787d064225538d2eab608ffd59347fbec87ce322708bf363",
      "notes": [
        {
          "midi": 60,
          "time": 0.290625,
          "duration": 0.30208333333333326,
          "velocity": 0.7795275590551181,
          "rawVelocity": 99
        },
        {
          "midi": 60,
          "time": 0.89375,
          "duration": 0.30208333333333326,
          "velocity": 0.7716535433070866,
          "rawVelocity": 98
        },
        {
          "midi": 60,
          "time": 1.4979166666666666,
          "duration": 0.3020833333333335,
          "velocity": 0.7874015748031497,
          "rawVelocity": 100
        },
        {
          "midi": 60,
          "time": 2.05625,
          "duration": 0.3250000000000002,
          "velocity": 0.7559055118110236,
          "rawVelocity": 96
        },
        {
          "midi": 60,
          "time": 2.6947916666666667,
          "duration": 0.3020833333333335,
          "velocity": 0.7716535433070866,
          "rawVelocity": 98
        },
        {
          "midi": 60,
          "time": 3.298958333333333,
          "duration": 0.3020833333333335,
          "velocity": 0.7795275590551181,
          "rawVelocity": 99
        },
        {
          "midi": 60,
          "time": 3.902083333333333,
          "duration": 0.2916666666666665,
          "velocity": 0.7716535433070866,
          "rawVelocity": 98
        },
        {
          "midi": 60,
          "time": 4.495833333333334,
          "duration": 0.29062499999999947,
          "velocity": 0.7874015748031497,
          "rawVelocity": 100
        }
      ],
      "noteCount": 8,
      "pitches": [
        60
      ],
      "rawVelocities": [
        99,
        98,
        100,
        96,
        98,
        99,
        98,
        100
      ],
      "velocityRange": [
        96,
        100
      ],
      "parameters": {
        "onsetThreshold": 0.5,
        "frameThreshold": 0.3,
        "minNoteFrames": 11,
        "modelSampleRate": 22050
      },
      "engine": "@spotify/basic-pitch 1.0.1 / TensorFlow.js WASM 3.21.0 in Web Worker",
      "backend": "wasm",
      "at": "2026-11-12T14:05:35.247Z",
      "rawVelocityByteCheck": true
    }
  ],
  "rawVelocityMethod": "midi-file decoded note-on velocity bytes, compared against round(@tonejs/midi normalized velocity*127)",
  "parserVersions": {
    "@tonejs/midi": "2.0.28",
    "midi-file": "1.2.4"
  }
}