Provided by: liballegro-doc_4.2.2-3_all
midi_out - Streams a block of MIDI commands into the player. Allegro game programming library.
#include <allegro.h> void midi_out(unsigned char *data, int length);
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.
install_sound(3alleg), load_midi_patches(3alleg), midi_recorder(3alleg)