Introduction

The BRELS MIDI API is a set of functions intended to make the use and creation of MIDI files easier. Look at the documentation of each function and at the samples included in the API's directory and in the BRELS MIDI Editor's directory to learn how to use them. If you need information on MIDI, check the MMA or this list of MIDI events.

The BRELS MIDI API is free for use in non-commercial projects or open source projects. The functions are packed in the dynamic-link library (brlsmidi.dll). Import the functions in the preferred method offered by your compiler, for example making a .lib file from the DLL and including the file brlsmidi.h in your project, if you are using C++. If you need more information on how to use it, feel free to send an e-mail or visit the BRELS website. You can also find headers for other programming languages.


Functions

To get started, read the functions' specification in the presented order:

MidiOpen
MidiClose
MidiPlay
MidiPause
MidiStop
MidiNext
MidiSuspend
MidiResume
MidiSilence
MidiReset
MidiCreate
MidiEncode
MidiInsertTrack
MidiRemoveTrack
MidiInsertTrackEvents
MidiRemoveTrackEvents
MidiGetTrackEvents
MidiFilterTrackEvents
MidiCleanEvents
MidiFreeBuffer
MidiGet
MidiTrackGet
MidiEventGet
MidiSet
MidiTrackSet
MidiEventSet
MidiQuery
btlw
btldw

Data types

QWORD
BRELS_MIDI_HEADER
BRELS_TRACK_HEADER
BRELS_MIDI_EVENT
BRELS_FILTERED_EVENT


Further information

Released in November 19th, 2003
Updated in April 29th, 2004
Property of Breno de Lima Sarmento
Home page: http://www27.brinkster.com/brels
E-mail: [email protected]
ICQ: 78977999 ()