BASS.NET API for the Un4seen BASS Audio LibraryUn4seen.Bass.AddOn.Midi NamespaceBASS.NET API for the Un4seen BASS Audio Library
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

  ClassDescription
Public classBASS_MIDI_DEVICEINFO
Used with BASS_MIDI_InGetDeviceInfo(Int32, BASS_MIDI_DEVICEINFO) to retrieve information on a MIDI input device.
Public classBASS_MIDI_FONTINFO
Used with BASS_MIDI_FontGetInfo(Int32, BASS_MIDI_FONTINFO) to retrieve information on a soundfont.
Public classBASS_MIDI_MARK
Public classBassMidi
BASS .NET API wrapper for BASSMIDI.

Requires: bassmidi.dll - BASSMIDI Add-On - available @ www.un4seen.com.

Structures

  StructureDescription
Public structureBASS_MIDI_EVENT
Public structureBASS_MIDI_FONT
Public structureBASS_MIDI_FONTEX
Delegates

  DelegateDescription
Public delegateCode exampleMIDIINPROC
User defined callback delegate to receive MIDI data (to be used with BASS_MIDI_InInit(Int32, MIDIINPROC, IntPtr)).
Enumerations

  EnumerationDescription
Public enumerationBASSMIDIEvent
Public enumerationBASSMIDIEventMode
Public enumerationBASSMIDIMarker
Public enumerationBASSMIDISystem
System mode parameter, to be used with MIDI_EVENT_SYSTEM, MIDI_EVENT_SYSTEMEX.