MidiDevicesEventReceived event |
![]() ![]() ![]() |
Remarks
Occurs when a MIDI event is received from a MIDI input device.
MIDI events can be filtered, avoiding this event being generated, through the MidiDevices.InputEventFilterSet method.
For further details about input events management see the How to synchronize the container application with the control tutorial.
For further details about the use of MIDI devices see the MidiDevices object section and the How to manage MIDI devices tutorial.
Syntax
[Visual Basic] MidiDevicesEventReceived ( nEventUniqueId as Integer, bRawEvent as enumBoolean ) |
[C++] void MidiDevicesEventReceived ( short nEventUniqueId, short bRawEvent ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nEventUniqueId |
Unique identifier of the MIDI event which can be used for obtaining further info and data about the MIDI event through a subsequent call to the MidiDevices.EventReadShort or MidiDevices.EventReadRawInfoGet or MidiDevices.EventReadRaw methods. |
|||||||||
bRawEvent |
Boolean value that specifies if the received MIDI event is a short event or a raw event. Supported values are the following:
|