BASS.NET API for the Un4seen BASS Audio Library

MidiMessageEventType Enumeration

BASS.NET API for the Un4seen BASS Audio Library
Types of Midi message event that has occurred with the MidiInputDevice resp. MidiOutputDevice class.

Namespace:  radio42.Multimedia.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public enum MidiMessageEventType
Members

  Member nameValueDescription
Opened0 The Midi device was opened.

Message: Not used (null).

Closed1 The Midi device was closed (any device handle is no longer valid from this point on).

Message: Not used (null).

Started2 The Midi device was started.

Message: The Midi device ID started (int).

Stopped3 The Midi device was stopped (Midi messages will no longer being send).

Message: The Midi device ID stopped (int).

ShortMessage4 A Midi short message was received by the device (only valid for a MidiInputDevice).

Message: MidiShortMessage.

SystemExclusive5 A Midi system-exclusive message was received by the device (valid for a MidiInputDevice and a MidiOutputDevice).

Message: MidiSysExMessage.

ShortMessageError6 An invalid Midi short message was received by the device (only valid for a MidiInputDevice).

Message: MidiShortMessage (constructed even if invalid).

SystemExclusiveError7 An invalid Midi system-exclusive message was received by the device (valid for a MidiInputDevice and a MidiOutputDevice).

Message: MidiSysExMessage (constructed even if invalid).

SystemExclusiveDone8 A Midi system-exclusive message was processed by the output device (valid for a MidiOutputDevice only).

Message: MidiSysExMessage (as send via Send(MidiShortMessage)).

Remarks

A variable of this type is passed inside the MidiMessageEventArgs object for the MessageReceived or MessageReceived event.
See Also

Reference