Skip to content

Instantly share code, notes, and snippets.

@cs127
Created August 7, 2026 10:35
Show Gist options
  • Select an option

  • Save cs127/f288a0f8b8be5e387cde53b8636de454 to your computer and use it in GitHub Desktop.

Select an option

Save cs127/f288a0f8b8be5e387cde53b8636de454 to your computer and use it in GitHub Desktop.
IT format diagram
┌───────────────────────────────────┐
│ Song header │
│ │
│ ┌───────────────────────────────┐ │
┌───────────┼─┤ Song comments pointer │ │
│ │ └───────────────────────────────┘ │
│ │ ┌───────────────────────────────┐ │
│ ┌─────────┼─┤ Instrument pointers │ │
│ │ │ ├───────────────────────────────┤ │
│ │ ┌───────┼─┤ Sample (metadata) pointers │ │
│ │ │ │ ├───────────────────────────────┤ │
│ │ │ ┌─────┼─┤ Pattern pointers │ │
│ │ │ │ │ ├───────────────────────────────┤ │
│ │ │ │ │ │ Edit history │ │
│ │ │ │ │ ├───────────────────────────────┤ │
│ │ │ │ │ │ MIDI macro configuration │ │
│ │ │ │ │ ├───────────────────────────────┤ │
│ │ │ │ │ │ Old MPT song extensions │ │
│ │ │ │ │ └───────────────────────────────┘ │
│ │ │ │ └───────────────────────────────────┘
│ │ │ │ ┌───────────────────────────────────┐
└─┼─┼─┼────►│ Song comments │
│ │ │ └───────────────────────────────────┘
│ │ │ ┌───────────────────────────────────┐
├─┼─┼────►│ Instrument 1 │
│ │ │ └───────────────────────────────────┘
│ │ │ ┌───────────────────────────────────┐
└─┼─┼────►│ Instrument 2 │
│ │ └───────────────────────────────────┘
│ │ .
│ │ .
│ │ .
│ │
│ │ ┌───────────────────────────────────┐
├─┼────►│ Sample 1 metadata │
│ │ │ │
│ │ │ ┌───────────────────────────────┐ │
│ │ ┌───┼─┤ Data pointer │ │
│ │ │ │ └───────────────────────────────┘ │
│ │ │ └───────────────────────────────────┘
│ │ │ ┌───────────────────────────────────┐
└─┼─┼──►│ Sample 2 metadata │
│ │ │ │
│ │ │ ┌───────────────────────────────┐ │
│ │ ┌─┼─┤ Data pointer │ │
│ │ │ │ └───────────────────────────────┘ │
│ │ │ └───────────────────────────────────┘
│ │ │ .
│ │ │ .
│ │ │ .
│ │ │
│ │ │ ┌───────────────────────────────────┐
├─┼─┼►│ Pattern 1 │
│ │ │ └───────────────────────────────────┘
│ │ │ ┌───────────────────────────────────┐
└─┼─┼►│ Pattern 2 │
│ │ └───────────────────────────────────┘
│ │ .
│ │ .
│ │ .
│ │
│ │ ┌───────────────────────────────────┐
└─┼►│ Sample 1 data L │
│ ├───────────────────────────────────┤
│ │ R │
│ └───────────────────────────────────┘
│ ┌───────────────────────────────────┐
└►│ Sample 2 data L │
├───────────────────────────────────┤
│ R │
└───────────────────────────────────┘
.
.
.
┌───────────────────────────────────┐
│ New MPT instrument extensions │
├───────────────────────────────────┤
│ New MPT song extensions │
└───────────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment