Page tree
Skip to end of metadata
Go to start of metadata


Enumerator to identify the different MIDI file formats.

  • Format 0: The data is stored in one single multi-channel track.
  • Format 1: The data is stored in separate tracks to be played simultaneously.

MidiFileFormat.singleMultiChannelTrack refers to format 0 and MidiFileFormat.simultaneousTracks to format 1.

Format 2 is seldomly used and therefore not supported.

Available in: Controller.

MIDI File Format Types



To explore the following script:

  1. Download Format 0.mid and Format 1.mid.
  2. Create an empty program and add a script module.
  3. Paste the script into the text editor of the script module and adjust the file path of readMidiFile to the location of the files on your system.
  4. Execute the script.