All tools

MIDI File Info Reader

Data

Read format, tick division, tempo, time signature, and per-track note counts directly from a Standard MIDI File's header and track chunks, without any playback or synthesis

Drop in a .mid or .midi file and get its format (single track, multi-track synchronous, or multi-track asynchronous), tick division, initial tempo in BPM, time signature, and total duration in seconds, plus an event and note-on count for every track. It walks the file's MThd header and MTrk chunks directly, decoding delta-times, tempo and time-signature meta events, and channel messages byte by byte, so nothing is played back or rendered to audio. Duration accounts for tempo changes across the whole file when the division is ticks-per-quarter-note, the common case for anything exported from a DAW or notation program.

audiomidimetadatatempoduration

How to use MIDI File Info Reader

  • 1.Drop a .mid or .midi file onto the tool, or click to browse for one.
  • 2.Read the format, division, initial tempo, and time signature reported from the file header.
  • 3.Check the per-track breakdown for each track's name (if set), event count, and note-on count.

Frequently asked questions

Does this play the MIDI file or render audio from it?
No. It only parses the byte structure of the header and track chunks to report metadata; nothing is synthesized or played back.
How is duration calculated?
By walking every tempo-change meta event across the file and summing tick ranges converted through the active tempo at each point, using the file's ticks-per-quarter-note division. Files using the rarer SMPTE division are converted with their fixed frames-per-second/ticks-per-frame rate instead.
What counts as a note in the note-on count?
A Note On channel message with a velocity greater than zero. Some files encode a note-off as a Note On with velocity 0, which is correctly excluded from the count.
What if the file has an unusual or corrupted structure?
The tool validates the MThd magic bytes, header length, declared track count, and format value, and returns a specific error message rather than a partial or misleading result if any of those checks fail.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/midi-file-info \
  -H "Authorization: Bearer utx_live_..." \
  -F "file=@song.mid"

Get an API key from your dashboard · Full API docs →