{
  "date": "2026-11-08",
  "main_keyword": "audio to midi",
  "source_commit": "43a8dbcf8e4401b826eb3638eeac164e82fc7672",
  "method": "Two original MIDI controls rendered with exact current production helper locally in Node. Two WAVs separately selected and converted in actual production Chrome at BPM120 and final-release estimate enabled. Native MIDI download links clicked, actual files independently parsed with Ruby.",
  "settings": {
    "bpm": 120,
    "trim_final_release": true
  },
  "runs": {
    "even": {
      "input": {
        "bytes": 112,
        "sha256": "cf014ab71c1a7e5f5621f96053e3bc4879068f366af1c675a03f789932cd0b2a",
        "format": 0,
        "tracks": 1,
        "ppq": 480,
        "tempo_events": [
          {
            "tick": 0,
            "microseconds_per_quarter": 500000
          }
        ],
        "controller_events": [

        ],
        "channel_events": [
          {
            "tick": 0,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 336,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          },
          {
            "tick": 480,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 62,
            "data2": 88
          },
          {
            "tick": 816,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 62,
            "data2": 0
          },
          {
            "tick": 960,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 1296,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 1440,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 1776,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 1920,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 69,
            "data2": 88
          },
          {
            "tick": 2256,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 69,
            "data2": 0
          },
          {
            "tick": 2400,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 2736,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 2880,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 3216,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 3360,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 3696,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          }
        ],
        "notes": [
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 0,
            "velocity": 88,
            "key_end_ticks": 336,
            "start_seconds": 0.0,
            "key_end_seconds": 0.35
          },
          {
            "pitch": 62,
            "channel": 0,
            "start_ticks": 480,
            "velocity": 88,
            "key_end_ticks": 816,
            "start_seconds": 0.5,
            "key_end_seconds": 0.85
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 960,
            "velocity": 88,
            "key_end_ticks": 1296,
            "start_seconds": 1.0,
            "key_end_seconds": 1.35
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 1440,
            "velocity": 88,
            "key_end_ticks": 1776,
            "start_seconds": 1.5,
            "key_end_seconds": 1.85
          },
          {
            "pitch": 69,
            "channel": 0,
            "start_ticks": 1920,
            "velocity": 88,
            "key_end_ticks": 2256,
            "start_seconds": 2.0,
            "key_end_seconds": 2.35
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 2400,
            "velocity": 88,
            "key_end_ticks": 2736,
            "start_seconds": 2.5,
            "key_end_seconds": 2.85
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 2880,
            "velocity": 88,
            "key_end_ticks": 3216,
            "start_seconds": 3.0,
            "key_end_seconds": 3.35
          },
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 3360,
            "velocity": 88,
            "key_end_ticks": 3696,
            "start_seconds": 3.5,
            "key_end_seconds": 3.85
          }
        ]
      },
      "output": {
        "bytes": 119,
        "sha256": "3d49af2144f3a479ab6656e056cede4a6582433395493905830980c4771fba5e",
        "format": 0,
        "tracks": 1,
        "ppq": 480,
        "tempo_events": [
          {
            "tick": 0,
            "microseconds_per_quarter": 500000
          }
        ],
        "controller_events": [

        ],
        "channel_events": [
          {
            "tick": 0,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 401,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          },
          {
            "tick": 424,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 62,
            "data2": 88
          },
          {
            "tick": 892,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 62,
            "data2": 0
          },
          {
            "tick": 892,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 1360,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 1382,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 1850,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 1850,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 69,
            "data2": 88
          },
          {
            "tick": 2341,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 69,
            "data2": 0
          },
          {
            "tick": 2341,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 2809,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 2831,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 3299,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 3299,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 3697,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          }
        ],
        "notes": [
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 0,
            "velocity": 88,
            "key_end_ticks": 401,
            "start_seconds": 0.0,
            "key_end_seconds": 0.41770833333333335
          },
          {
            "pitch": 62,
            "channel": 0,
            "start_ticks": 424,
            "velocity": 88,
            "key_end_ticks": 892,
            "start_seconds": 0.44166666666666665,
            "key_end_seconds": 0.9291666666666667
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 892,
            "velocity": 88,
            "key_end_ticks": 1360,
            "start_seconds": 0.9291666666666667,
            "key_end_seconds": 1.4166666666666667
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 1382,
            "velocity": 88,
            "key_end_ticks": 1850,
            "start_seconds": 1.4395833333333334,
            "key_end_seconds": 1.9270833333333333
          },
          {
            "pitch": 69,
            "channel": 0,
            "start_ticks": 1850,
            "velocity": 88,
            "key_end_ticks": 2341,
            "start_seconds": 1.9270833333333333,
            "key_end_seconds": 2.4385416666666666
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 2341,
            "velocity": 88,
            "key_end_ticks": 2809,
            "start_seconds": 2.4385416666666666,
            "key_end_seconds": 2.926041666666667
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 2831,
            "velocity": 88,
            "key_end_ticks": 3299,
            "start_seconds": 2.948958333333333,
            "key_end_seconds": 3.4364583333333334
          },
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 3299,
            "velocity": 88,
            "key_end_ticks": 3697,
            "start_seconds": 3.4364583333333334,
            "key_end_seconds": 3.8510416666666667
          }
        ]
      },
      "rendered_wav": {
        "bytes": 191880,
        "frames": 95918,
        "sample_rate": 22050,
        "duration_seconds": 4.3500226757369616,
        "sha256": "300fe5a065a9bb638ca16f51299e61d992a67d24cf29bffefa2cf4349ae8f926"
      },
      "pcm_key_window_measurements": [
        {
          "pitch": 60,
          "source_velocity": 88,
          "from_frame": 0,
          "to_frame_exclusive": 7718,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94379361693,
          "rms_pcm16": 3496.9234931874803
        },
        {
          "pitch": 62,
          "source_velocity": 88,
          "from_frame": 11025,
          "to_frame_exclusive": 18743,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94470146673,
          "rms_pcm16": 3498.6049615509405
        },
        {
          "pitch": 64,
          "source_velocity": 88,
          "from_frame": 22050,
          "to_frame_exclusive": 29768,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94512282254,
          "rms_pcm16": 3499.3850985783733
        },
        {
          "pitch": 67,
          "source_velocity": 88,
          "from_frame": 33075,
          "to_frame_exclusive": 40793,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94408195903,
          "rms_pcm16": 3497.45763181908
        },
        {
          "pitch": 69,
          "source_velocity": 88,
          "from_frame": 44100,
          "to_frame_exclusive": 51818,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94443180080,
          "rms_pcm16": 3498.105585858725
        },
        {
          "pitch": 67,
          "source_velocity": 88,
          "from_frame": 55125,
          "to_frame_exclusive": 62843,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94408195903,
          "rms_pcm16": 3497.45763181908
        },
        {
          "pitch": 64,
          "source_velocity": 88,
          "from_frame": 66150,
          "to_frame_exclusive": 73868,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94512282254,
          "rms_pcm16": 3499.3850985783733
        },
        {
          "pitch": 60,
          "source_velocity": 88,
          "from_frame": 77175,
          "to_frame_exclusive": 84893,
          "frames": 7718,
          "absolute_peak_pcm16": 4995,
          "sum_of_squares": 94379361693,
          "rms_pcm16": 3496.9234931874803
        }
      ],
      "source_velocity_sequence": [
        88,
        88,
        88,
        88,
        88,
        88,
        88,
        88
      ],
      "actual_velocity_sequence": [
        88,
        88,
        88,
        88,
        88,
        88,
        88,
        88
      ],
      "velocity_difference_sequence": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "velocity_absolute_error_sum": 0,
      "velocity_mean_absolute_difference": 0.0,
      "velocity_mae_formula": "sum(abs(actual_velocity[i] - source_velocity[i])) / 8; raw MIDI integer units, not dB or an accuracy score",
      "note_starts_seconds": [
        0.0,
        0.44166666666666665,
        0.9291666666666667,
        1.4395833333333334,
        1.9270833333333333,
        2.4385416666666666,
        2.948958333333333,
        3.4364583333333334
      ]
    },
    "alternating": {
      "input": {
        "bytes": 112,
        "sha256": "0041a94b5344eb29c07211e375ad84a9cba8b66396015bc109267e2920b001a5",
        "format": 0,
        "tracks": 1,
        "ppq": 480,
        "tempo_events": [
          {
            "tick": 0,
            "microseconds_per_quarter": 500000
          }
        ],
        "controller_events": [

        ],
        "channel_events": [
          {
            "tick": 0,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 40
          },
          {
            "tick": 336,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          },
          {
            "tick": 480,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 62,
            "data2": 112
          },
          {
            "tick": 816,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 62,
            "data2": 0
          },
          {
            "tick": 960,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 40
          },
          {
            "tick": 1296,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 1440,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 112
          },
          {
            "tick": 1776,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 1920,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 69,
            "data2": 40
          },
          {
            "tick": 2256,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 69,
            "data2": 0
          },
          {
            "tick": 2400,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 112
          },
          {
            "tick": 2736,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 2880,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 40
          },
          {
            "tick": 3216,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 3360,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 112
          },
          {
            "tick": 3696,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          }
        ],
        "notes": [
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 0,
            "velocity": 40,
            "key_end_ticks": 336,
            "start_seconds": 0.0,
            "key_end_seconds": 0.35
          },
          {
            "pitch": 62,
            "channel": 0,
            "start_ticks": 480,
            "velocity": 112,
            "key_end_ticks": 816,
            "start_seconds": 0.5,
            "key_end_seconds": 0.85
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 960,
            "velocity": 40,
            "key_end_ticks": 1296,
            "start_seconds": 1.0,
            "key_end_seconds": 1.35
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 1440,
            "velocity": 112,
            "key_end_ticks": 1776,
            "start_seconds": 1.5,
            "key_end_seconds": 1.85
          },
          {
            "pitch": 69,
            "channel": 0,
            "start_ticks": 1920,
            "velocity": 40,
            "key_end_ticks": 2256,
            "start_seconds": 2.0,
            "key_end_seconds": 2.35
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 2400,
            "velocity": 112,
            "key_end_ticks": 2736,
            "start_seconds": 2.5,
            "key_end_seconds": 2.85
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 2880,
            "velocity": 40,
            "key_end_ticks": 3216,
            "start_seconds": 3.0,
            "key_end_seconds": 3.35
          },
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 3360,
            "velocity": 112,
            "key_end_ticks": 3696,
            "start_seconds": 3.5,
            "key_end_seconds": 3.85
          }
        ]
      },
      "output": {
        "bytes": 119,
        "sha256": "32b52285739e78ee266041586cd5354c6692be884e487ba96049d34b105116fb",
        "format": 0,
        "tracks": 1,
        "ppq": 480,
        "tempo_events": [
          {
            "tick": 0,
            "microseconds_per_quarter": 500000
          }
        ],
        "controller_events": [

        ],
        "channel_events": [
          {
            "tick": 0,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 401,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          },
          {
            "tick": 401,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 62,
            "data2": 88
          },
          {
            "tick": 892,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 62,
            "data2": 0
          },
          {
            "tick": 914,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 1360,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 1360,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 1850,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 1872,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 69,
            "data2": 88
          },
          {
            "tick": 2318,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 69,
            "data2": 0
          },
          {
            "tick": 2341,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 67,
            "data2": 88
          },
          {
            "tick": 2809,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 67,
            "data2": 0
          },
          {
            "tick": 2831,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 64,
            "data2": 88
          },
          {
            "tick": 3299,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 64,
            "data2": 0
          },
          {
            "tick": 3299,
            "status": 144,
            "type": 144,
            "channel": 0,
            "data1": 60,
            "data2": 88
          },
          {
            "tick": 3697,
            "status": 128,
            "type": 128,
            "channel": 0,
            "data1": 60,
            "data2": 0
          }
        ],
        "notes": [
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 0,
            "velocity": 88,
            "key_end_ticks": 401,
            "start_seconds": 0.0,
            "key_end_seconds": 0.41770833333333335
          },
          {
            "pitch": 62,
            "channel": 0,
            "start_ticks": 401,
            "velocity": 88,
            "key_end_ticks": 892,
            "start_seconds": 0.41770833333333335,
            "key_end_seconds": 0.9291666666666667
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 914,
            "velocity": 88,
            "key_end_ticks": 1360,
            "start_seconds": 0.9520833333333333,
            "key_end_seconds": 1.4166666666666667
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 1360,
            "velocity": 88,
            "key_end_ticks": 1850,
            "start_seconds": 1.4166666666666667,
            "key_end_seconds": 1.9270833333333333
          },
          {
            "pitch": 69,
            "channel": 0,
            "start_ticks": 1872,
            "velocity": 88,
            "key_end_ticks": 2318,
            "start_seconds": 1.95,
            "key_end_seconds": 2.4145833333333333
          },
          {
            "pitch": 67,
            "channel": 0,
            "start_ticks": 2341,
            "velocity": 88,
            "key_end_ticks": 2809,
            "start_seconds": 2.4385416666666666,
            "key_end_seconds": 2.926041666666667
          },
          {
            "pitch": 64,
            "channel": 0,
            "start_ticks": 2831,
            "velocity": 88,
            "key_end_ticks": 3299,
            "start_seconds": 2.948958333333333,
            "key_end_seconds": 3.4364583333333334
          },
          {
            "pitch": 60,
            "channel": 0,
            "start_ticks": 3299,
            "velocity": 88,
            "key_end_ticks": 3697,
            "start_seconds": 3.4364583333333334,
            "key_end_seconds": 3.8510416666666667
          }
        ]
      },
      "rendered_wav": {
        "bytes": 191880,
        "frames": 95918,
        "sample_rate": 22050,
        "duration_seconds": 4.3500226757369616,
        "sha256": "12540a64c6a0f96699616cd24527e65ed43ef0fc4aaf5929d9c9490f785ffbb7"
      },
      "pcm_key_window_measurements": [
        {
          "pitch": 60,
          "source_velocity": 40,
          "from_frame": 0,
          "to_frame_exclusive": 7718,
          "frames": 7718,
          "absolute_peak_pcm16": 2270,
          "sum_of_squares": 19499587695,
          "rms_pcm16": 1589.499249475746
        },
        {
          "pitch": 62,
          "source_velocity": 112,
          "from_frame": 11025,
          "to_frame_exclusive": 18743,
          "frames": 7718,
          "absolute_peak_pcm16": 6357,
          "sum_of_squares": 153026178213,
          "rms_pcm16": 4452.772213487169
        },
        {
          "pitch": 64,
          "source_velocity": 40,
          "from_frame": 22050,
          "to_frame_exclusive": 29768,
          "frames": 7718,
          "absolute_peak_pcm16": 2270,
          "sum_of_squares": 19527253147,
          "rms_pcm16": 1590.6264176394016
        },
        {
          "pitch": 67,
          "source_velocity": 112,
          "from_frame": 33075,
          "to_frame_exclusive": 40793,
          "frames": 7718,
          "absolute_peak_pcm16": 6357,
          "sum_of_squares": 152925856785,
          "rms_pcm16": 4451.312392331371
        },
        {
          "pitch": 69,
          "source_velocity": 40,
          "from_frame": 44100,
          "to_frame_exclusive": 51818,
          "frames": 7718,
          "absolute_peak_pcm16": 2270,
          "sum_of_squares": 19512646719,
          "rms_pcm16": 1590.0314103347948
        },
        {
          "pitch": 67,
          "source_velocity": 112,
          "from_frame": 55125,
          "to_frame_exclusive": 62843,
          "frames": 7718,
          "absolute_peak_pcm16": 6357,
          "sum_of_squares": 152925856785,
          "rms_pcm16": 4451.312392331371
        },
        {
          "pitch": 64,
          "source_velocity": 40,
          "from_frame": 66150,
          "to_frame_exclusive": 73868,
          "frames": 7718,
          "absolute_peak_pcm16": 2270,
          "sum_of_squares": 19527253147,
          "rms_pcm16": 1590.6264176394016
        },
        {
          "pitch": 60,
          "source_velocity": 112,
          "from_frame": 77175,
          "to_frame_exclusive": 84893,
          "frames": 7718,
          "absolute_peak_pcm16": 6357,
          "sum_of_squares": 152878389877,
          "rms_pcm16": 4450.62151363218
        }
      ],
      "source_velocity_sequence": [
        40,
        112,
        40,
        112,
        40,
        112,
        40,
        112
      ],
      "actual_velocity_sequence": [
        88,
        88,
        88,
        88,
        88,
        88,
        88,
        88
      ],
      "velocity_difference_sequence": [
        48,
        -24,
        48,
        -24,
        48,
        -24,
        48,
        -24
      ],
      "velocity_absolute_error_sum": 288,
      "velocity_mean_absolute_difference": 36.0,
      "velocity_mae_formula": "sum(abs(actual_velocity[i] - source_velocity[i])) / 8; raw MIDI integer units, not dB or an accuracy score",
      "note_starts_seconds": [
        0.0,
        0.41770833333333335,
        0.9520833333333333,
        1.4166666666666667,
        1.95,
        2.4385416666666666,
        2.948958333333333,
        3.4364583333333334
      ]
    }
  },
  "render_method": "Exact production music-tools.js functions executed locally in Node, soft sine renderer. Not a browser renderer test or real performer.",
  "formula_inputs": {
    "ppq": 480,
    "tempo_microseconds": 500000,
    "tick_to_seconds": "tick / 480 * 500000 / 1000000 = tick / 960",
    "starts_ticks": [
      0,
      480,
      960,
      1440,
      1920,
      2400,
      2880,
      3360
    ],
    "duration_ticks": 336,
    "key_duration_seconds": "336 / 960 = 0.35",
    "source_velocity_even": [
      88,
      88,
      88,
      88,
      88,
      88,
      88,
      88
    ],
    "source_velocity_alternating": [
      40,
      112,
      40,
      112,
      40,
      112,
      40,
      112
    ],
    "renderer_amplitude": "sine * attack * release * (velocity / 127) * 0.22; soft sine, no overlapping notes",
    "pcm_peak": "max(abs(signed PCM16 values)) within each original key window",
    "pcm_rms": "sqrt(sum(sample^2) / frame_count) within the same original key window",
    "wav_duration": "95918 / 22050 = 4.3500226757369616 seconds"
  },
  "scope": "Controlled synthesized monophonic tones, not a singer or acoustic-instrument dynamics accuracy test. Key-window amplitude measurements are computed from WAV bytes; no browser-internal RMS or perceived loudness was measured."
}
