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
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Processing failed |
| 2 | Usage or parameter error |
| 3 | Input missing or unreadable |
| 8 | Cancelled |
| 70 | Internal error (bug) |
Common mistakes
- Forgetting that outputs are never overwritten: pass
--overwriteor a new-opath 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": {}}