*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> midi/mdPrintEvent (3d)              


mdPrintEvent(3dm)					     mdPrintEvent(3dm)

NAME    [Toc]    [Back]

     mdPrintEvent - Generate a descriptive string for MIDI events

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/midi.h>

     int mdPrintEvent(char *buf, MDevent *evbuf, int count)

DESCRIPTION    [Toc]    [Back]

     mdPrintEvent can be used to format	events in a buffer for printing.  buf
     is	a user allocated character into	which the formatted string will	be
     written.  evbuf points to the array MDevents whose	descriptions are to be
     generated,	and count indicates how	many of	the events should be

     In	order to avoid overflowing buf,	the programmer should insure that the
     buffer can	accomodate 80 bytes of description per message.

     The message format	is:

     timestamp : channel : status type (string)	: byte 1 : byte	2

     If	the message is a note on or note off, the note name (eg	A3) is printed
     in	the field occupied by byte 1.  Otherwise, the numeric value is

RETURN VALUE    [Toc]    [Back]

     mdPrintEvent return -1 on error, 0	on success.

SEE ALSO    [Toc]    [Back]


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mdReceive IRIX Accept MIDI events from a port
DtActionDescription HP-UX obtain the descriptive text for a given action
umidi OpenBSD USB support for MIDI devices
mdGetStatus IRIX manipulate MIDI messages
mdGetName IRIX return a MIDI interface name
midiplay OpenBSD play MIDI files
mdSend IRIX send out MIDI data
startmidi IRIX start MIDI daemon
midisynth IRIX software MIDI synthesizer
synthpreset IRIX MIDI synthesizer preset file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service