@ -81,4 +81,34 @@ When you're done with sending MIDI events, simply `Dispose` the device.
```c#
midiOut.Dispose();
```
```
## Sending and Receiving Sysex message events
Sending a Sysex message can be done using MidiOut.SendBuffer(). It is not necessary to build and send an entire message as a single SendBuffer call as long as you ensure that the calls are not asynchronously interleaved.
Receiving Sysex messages requires two actions in addition to the midiIn handling above: (1) Allocate a number of buffers each large enough to receive an expected Sysex message from the device. (2) Subscribe to the SysexMessageReceived EventHandler property: