BASS.NET API for the Un4seen BASS Audio Library

MidiInputDeviceMessageReceived Event

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

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

public event MidiMessageEventHandler MessageReceived

Value

Type: radio42.Multimedia.MidiMidiMessageEventHandler
Remarks

It is a good idea to subscribe to this event handler before calling Open and Start.

The property MessageFilter might be used to suppress sending certain events.

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

Reference