This namespace contains all classes, delegates and enumerations to support the native bassmidi.dll.
BASSMIDI is an extension enabling the playback of MIDI files and real-time events, using SF2 soundfonts to provide the sounds.
All BASSMIDI API calls are contained in the main class BassMidi and have been implemented as static methods. So there is NO need to create an instance of the BassMidi class!
All BASSMIDI structures have been implemented as real classes (named in capital letters). This because they are much easier to use and reflect exactly what BASSMIDI would expect. Those classes needs to be instantiated before their use.
Classes
Class | Description | |
---|---|---|
BASS_MIDI_DEVICEINFO |
Used with BASS_MIDI_InGetDeviceInfo(Int32, BASS_MIDI_DEVICEINFO) to retrieve information on a MIDI input device.
| |
BASS_MIDI_FONTINFO |
Used with BASS_MIDI_FontGetInfo(Int32, BASS_MIDI_FONTINFO) to retrieve information on a soundfont.
| |
BASS_MIDI_MARK |
Used with BASS_MIDI_StreamGetMark(Int32, BASSMIDIMarker, Int32, BASS_MIDI_MARK), BASS_SYNC_MIDI_LYRIC, BASS_SYNC_MIDI_CUE and BASS_SYNC_MIDI_MARKER to retrieve markers.
| |
BassMidi |
BASS .NET API wrapper for BASSMIDI.
Requires: bassmidi.dll - BASSMIDI Add-On - available @ www.un4seen.com. |
Structures
Structure | Description | |
---|---|---|
BASS_MIDI_EVENT |
Used with BASS_MIDI_StreamEvents(Int32, BASSMIDIEventMode, BASS_MIDI_EVENT, Int32) to apply events
and BASS_MIDI_StreamGetEvents(Int32, Int32, BASSMIDIEvent, BASS_MIDI_EVENT) to retrieve events,
and BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32) to play event sequences.
| |
BASS_MIDI_FONT |
Used with BASS_MIDI_StreamSetFonts(Int32, BASS_MIDI_FONT, Int32) and BASS_MIDI_StreamGetFonts(Int32, BASS_MIDI_FONT, Int32) to set and retrieve soundfont configurations.
| |
BASS_MIDI_FONTEX |
Used with BASS_MIDI_StreamSetFonts(Int32, BASS_MIDI_FONT, Int32) and BASS_MIDI_StreamGetFonts(Int32, BASS_MIDI_FONT, Int32) to set and retrieve soundfont configurations.
| |
BASS_MIDI_FONTEX2 |
Used with BASS_MIDI_StreamSetFonts(Int32, BASS_MIDI_FONT, Int32) and BASS_MIDI_StreamGetFonts(Int32, BASS_MIDI_FONT, Int32) to set and retrieve soundfont configurations.
|
Delegates
Delegate | Description | |
---|---|---|
MIDIFILTERPROC |
User defined callback function to filter events.
| |
MIDIINPROC |
User defined callback delegate to receive MIDI data (to be used with BASS_MIDI_InInit(Int32, MIDIINPROC, IntPtr)).
|
Enumerations
Enumeration | Description | |
---|---|---|
BASSMIDIEvent |
The MIDI event type, to be used with BASS_MIDI_StreamEvent(Int32, Int32, BASSMIDIEvent, Int32) resp. BASS_MIDI_StreamGetEvent(Int32, Int32, BASSMIDIEvent) or BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32).
| |
BASSMIDIEventMode |
The type of event data to apply, to be used with BASS_MIDI_StreamEvents(Int32, BASSMIDIEventMode, BASS_MIDI_EVENT, Int32).
| |
BASSMIDIFont |
The LoadFont flags to be used with BASS_MIDI_FontLoad(Int32, Int32, Int32) | |
BASSMIDIMarker |
The Marker type, to be used with BASS_MIDI_StreamGetMark(Int32, BASSMIDIMarker, Int32, BASS_MIDI_MARK).
| |
BASSMIDISystem |
System mode parameter, to be used with MIDI_EVENT_SYSTEM, MIDI_EVENT_SYSTEMEX.
|