ferraus midi info

Summarize a MIDI file

Synopsis

ferraus midi info <input> [options] [-o <output>]

What it does

Prints tracks, note counts, pitch ranges, programs, tempo map, time and key signatures, and the length in seconds, beats, and bars. Writes nothing.

Examples

Machine-readable summary of every track

ferraus midi info song.mid --json

Also reads the JSON form written by midi to-json

ferraus midi info part.json

Check the notes, range, and tempo of a part written by hum or transcribe

ferraus midi info hum.mid

Global options

Every command also accepts the global options (-o, --json, --dry-run, --overwrite, --progress, ...). See Global options.

Exit codes

CodeMeaning
0Success
1Processing failed
2Usage or parameter error
3Input missing or unreadable
8Cancelled
70Internal error (bug)

Common mistakes

  • Forgetting that outputs are never overwritten: pass --overwrite or a new -o path when re-running.

For models

  • MCP tool: ferraus_midi_info
  • Schema: ferraus schema midi info
  • Pipeline: { op: midi info, args: { ... } } (flag names with _ instead of -)
  • fx stage: no
{"command": "midi info", "defaults": {}}