---
name: "exmidi"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/exmidi/3alleg4"
---

# exmidi(3alleg4)

Playing MIDI music. Allegro game programming library.

## NAME

exmidi - Playing MIDI music. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**Example exmidi**

## DESCRIPTION

This program demonstrates how to play MIDI files.

## SEE ALSO

**END\_OF\_MAIN**(3alleg4), **MIDI**(3alleg4), **SCREEN\_H**(3alleg4), **SCREEN\_W**(3alleg4), **allegro\_error**(3alleg4), **allegro\_init**(3alleg4), **allegro\_message**(3alleg4), **clear\_to\_color**(3alleg4), **desktop\_palette**(3alleg4), **destroy\_midi**(3alleg4), **font**(3alleg4), **get\_filename**(3alleg4), **get\_midi\_length**(3alleg4), **install\_keyboard**(3alleg4), **install\_sound**(3alleg4), **install\_timer**(3alleg4), **key**(3alleg4), **keypressed**(3alleg4), **load\_midi**(3alleg4), **makecol**(3alleg4), **midi\_pause**(3alleg4), **midi\_pos**(3alleg4), **midi\_resume**(3alleg4), **midi\_time**(3alleg4), **play\_midi**(3alleg4), **readkey**(3alleg4), **rectfill**(3alleg4), **rest**(3alleg4), **screen**(3alleg4), **set\_display\_switch\_mode**(3alleg4), **set\_gfx\_mode**(3alleg4), **set\_palette**(3alleg4), **text\_height**(3alleg4), **text\_length**(3alleg4), **textprintf\_centre\_ex**(3alleg4)
