BASS.NET API for the Un4seen BASS Audio Library

MidiOutputDeviceMessageReceived Event

BASS.NET API for the Un4seen BASS Audio Library
Event handler used to notify that the output device has processed a message or the status has changed.

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

public event MidiMessageEventHandler MessageReceived


Type: radio42.Multimedia.MidiMidiMessageEventHandler

It is a good idea to subscribe to this event handler before calling Open (even if it is normally not needed to subscribe to any output device).

The MidiMessageEventArgs contains a MidiMessageEventType which allows you to react to all possible scenarios and to process all these events.

Note: This implementation ensures, that the event will be executed in the main thread the subscriber executes in! So when subscribing to this event from UI thread, the specified event delegate will also be called in that UI thread.

See Also