---
name: "grepmidi"
section: "1"
platform: "linux"
package: "muse"
version: "4.3.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/grepmidi"
---

# grepmidi(1)

display structure of MIDI files

## NAME

grepmidi - display structure of MIDI files

## SYNOPSIS

**grepmidi** \[ *-f* \] *file* \[ *...* \]

## DESCRIPTION

The **grepmidi** utility provides a simple parser for files in raw MIDI format.  It is far from complete, but allows to get a grip of the basic song structure in *file*.  That is, it does not display single note, but only meta information embedded in the MIDI file.  **grepmidi** can also be useful to check whether a given MIDI file contains errors.

More than one *file* can be given on the commandline.  Option **-f** tells **grepmidi** to prepend each line of output with the filename that is currently checked.

**grepmidi** is distributed along with **MusE**, a full-fledged MIDI Music Editor.

## SEE ALSO

[**muse4**(1)](/muse4/1.md).

## AUTHORS

**grepmidi** was written by Werner Schweer \<ws@seh.de\>.

This manual page was written by Daniel Kobras \<kobras@debian.org\> for the Debian GNU/Linux system (but may be used by others).
