{
  "at": "2026-11-12T13:51:16.976Z",
  "method": "Synthetic SMF container and channel assignment experiment; not audio transcription, source separation or a DAW import test",
  "writer": "custom format-0/1 byte encoder in measure-track-channel.mjs",
  "lowLevelParser": "midi-file 1.2.4",
  "normalizedParser": "@tonejs/midi 2.0.28",
  "ppq": 480,
  "tempoBpm": 120,
  "channelConvention": "0-based raw channels; add 1 for conventional channel labels. Program values remain 0-based. No bank changes or mid-song program changes.",
  "expectedNotes": [
    {
      "pitch": 48,
      "ticks": 0,
      "durationTicks": 240,
      "velocity": 90
    },
    {
      "pitch": 72,
      "ticks": 288,
      "durationTicks": 240,
      "velocity": 90
    },
    {
      "pitch": 50,
      "ticks": 480,
      "durationTicks": 240,
      "velocity": 90
    },
    {
      "pitch": 74,
      "ticks": 768,
      "durationTicks": 240,
      "velocity": 90
    },
    {
      "pitch": 52,
      "ticks": 960,
      "durationTicks": 240,
      "velocity": 90
    },
    {
      "pitch": 76,
      "ticks": 1248,
      "durationTicks": 240,
      "velocity": 90
    }
  ],
  "files": [
    {
      "name": "one-track-two-channels.mid",
      "format": 0,
      "rawMTrkChunks": 1,
      "noteBearingChunks": 1,
      "noteOnCount": 6,
      "rawChannels": [
        0,
        1
      ],
      "programValues": [
        0,
        40
      ],
      "normalizedNoteBearingTracks": 2,
      "allMusicalEventsMatchReference": true,
      "trackInventory": [
        {
          "index": 0,
          "noteOnCount": 6,
          "channels": [
            0,
            1
          ],
          "programChanges": [
            {
              "tick": 0,
              "channel": 0,
              "program": 0
            },
            {
              "tick": 0,
              "channel": 1,
              "program": 40
            }
          ],
          "noteOns": [
            {
              "tick": 0,
              "channel": 0,
              "pitch": 48,
              "velocity": 90
            },
            {
              "tick": 288,
              "channel": 1,
              "pitch": 72,
              "velocity": 90
            },
            {
              "tick": 480,
              "channel": 0,
              "pitch": 50,
              "velocity": 90
            },
            {
              "tick": 768,
              "channel": 1,
              "pitch": 74,
              "velocity": 90
            },
            {
              "tick": 960,
              "channel": 0,
              "pitch": 52,
              "velocity": 90
            },
            {
              "tick": 1248,
              "channel": 1,
              "pitch": 76,
              "velocity": 90
            }
          ]
        }
      ],
      "decodedMusicalEvents": [
        {
          "pitch": 48,
          "ticks": 0,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 72,
          "ticks": 288,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 50,
          "ticks": 480,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 74,
          "ticks": 768,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 52,
          "ticks": 960,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 76,
          "ticks": 1248,
          "durationTicks": 240,
          "velocity": 90
        }
      ],
      "bytes": 93,
      "sha256": "241a3c13c24d4c5242a11760d56888625cd9d26e20f04d5bf7760b431d84744e"
    },
    {
      "name": "two-parts-one-channel.mid",
      "format": 1,
      "rawMTrkChunks": 3,
      "noteBearingChunks": 2,
      "noteOnCount": 6,
      "rawChannels": [
        0
      ],
      "programValues": [
        0
      ],
      "normalizedNoteBearingTracks": 2,
      "allMusicalEventsMatchReference": true,
      "trackInventory": [
        {
          "index": 0,
          "noteOnCount": 0,
          "channels": [],
          "programChanges": [],
          "noteOns": []
        },
        {
          "index": 1,
          "noteOnCount": 3,
          "channels": [
            0
          ],
          "programChanges": [
            {
              "tick": 0,
              "channel": 0,
              "program": 0
            }
          ],
          "noteOns": [
            {
              "tick": 0,
              "channel": 0,
              "pitch": 48,
              "velocity": 90
            },
            {
              "tick": 480,
              "channel": 0,
              "pitch": 50,
              "velocity": 90
            },
            {
              "tick": 960,
              "channel": 0,
              "pitch": 52,
              "velocity": 90
            }
          ]
        },
        {
          "index": 2,
          "noteOnCount": 3,
          "channels": [
            0
          ],
          "programChanges": [
            {
              "tick": 0,
              "channel": 0,
              "program": 0
            }
          ],
          "noteOns": [
            {
              "tick": 288,
              "channel": 0,
              "pitch": 72,
              "velocity": 90
            },
            {
              "tick": 768,
              "channel": 0,
              "pitch": 74,
              "velocity": 90
            },
            {
              "tick": 1248,
              "channel": 0,
              "pitch": 76,
              "velocity": 90
            }
          ]
        }
      ],
      "decodedMusicalEvents": [
        {
          "pitch": 48,
          "ticks": 0,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 72,
          "ticks": 288,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 50,
          "ticks": 480,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 74,
          "ticks": 768,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 52,
          "ticks": 960,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 76,
          "ticks": 1248,
          "durationTicks": 240,
          "velocity": 90
        }
      ],
      "bytes": 122,
      "sha256": "c46e14e601a2fafd21049946336810ff33dc3bf7bab5a8b1f45e99dca6eab084"
    },
    {
      "name": "two-parts-two-channels.mid",
      "format": 1,
      "rawMTrkChunks": 3,
      "noteBearingChunks": 2,
      "noteOnCount": 6,
      "rawChannels": [
        0,
        1
      ],
      "programValues": [
        0,
        40
      ],
      "normalizedNoteBearingTracks": 2,
      "allMusicalEventsMatchReference": true,
      "trackInventory": [
        {
          "index": 0,
          "noteOnCount": 0,
          "channels": [],
          "programChanges": [],
          "noteOns": []
        },
        {
          "index": 1,
          "noteOnCount": 3,
          "channels": [
            0
          ],
          "programChanges": [
            {
              "tick": 0,
              "channel": 0,
              "program": 0
            }
          ],
          "noteOns": [
            {
              "tick": 0,
              "channel": 0,
              "pitch": 48,
              "velocity": 90
            },
            {
              "tick": 480,
              "channel": 0,
              "pitch": 50,
              "velocity": 90
            },
            {
              "tick": 960,
              "channel": 0,
              "pitch": 52,
              "velocity": 90
            }
          ]
        },
        {
          "index": 2,
          "noteOnCount": 3,
          "channels": [
            1
          ],
          "programChanges": [
            {
              "tick": 0,
              "channel": 1,
              "program": 40
            }
          ],
          "noteOns": [
            {
              "tick": 288,
              "channel": 1,
              "pitch": 72,
              "velocity": 90
            },
            {
              "tick": 768,
              "channel": 1,
              "pitch": 74,
              "velocity": 90
            },
            {
              "tick": 1248,
              "channel": 1,
              "pitch": 76,
              "velocity": 90
            }
          ]
        }
      ],
      "decodedMusicalEvents": [
        {
          "pitch": 48,
          "ticks": 0,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 72,
          "ticks": 288,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 50,
          "ticks": 480,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 74,
          "ticks": 768,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 52,
          "ticks": 960,
          "durationTicks": 240,
          "velocity": 90
        },
        {
          "pitch": 76,
          "ticks": 1248,
          "durationTicks": 240,
          "velocity": 90
        }
      ],
      "bytes": 122,
      "sha256": "0d92b177e37d9f6e4be62716ce5f4629f5ecc4d29d982ea787183f3206097d67"
    }
  ]
}