Interface IMidiOutput
A device-agnostic MIDI output. Implemented by the legacy winmm-backed
MidiOut (in NAudio.WinMM) and the WinRT-backed WinRTMidiOut
(in NAudio.Wasapi).
public interface IMidiOutput : IDisposable
- Inherited Members
- Extension Methods
Methods
Send(int)
Sends a short (1-3 byte) MIDI message packed as a 32-bit integer.
void Send(int message)
Parameters
messageintThe packed MIDI message (status byte, data1, data2).
SendBuffer(byte[])
Sends a long MIDI message (e.g. sysex) as a byte buffer.
void SendBuffer(byte[] byteBuffer)
Parameters
byteBufferbyte[]The bytes to send, including any framing bytes (e.g.
0xF0/0xF7for sysex).