midi_out man page

midi_out — Streams a block of MIDI commands into the player. Allegro game programming library.

Synopsis

#include <allegro.h>

void midi_out(unsigned char *data, int length);

Description

Streams a block of MIDI commands into the player in real-time, allowing you to trigger notes, jingles, etc, over the top of whatever MIDI file is currently playing.

See Also

install_sound(3), load_midi_patches(3), midi_recorder(3)

Referenced By

load_midi_patches(3), midi_recorder(3).

version 4.4.2 Allegro Allegro manual