Table of Contents

Interface IMidiOutput

Namespace
NAudio.Midi
Assembly
NAudio.Midi.dll

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

message int

The 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

byteBuffer byte[]

The bytes to send, including any framing bytes (e.g. 0xF0/0xF7 for sysex).