Table of Contents

Class MidiInMessageEventArgs

Namespace
NAudio.Midi
Assembly
NAudio.Midi.dll

MIDI In Message Information

public class MidiInMessageEventArgs : EventArgs
Inheritance
MidiInMessageEventArgs
Inherited Members

Constructors

MidiInMessageEventArgs(int, TimeSpan)

Create a new MIDI In Message EventArgs

public MidiInMessageEventArgs(int message, TimeSpan timestamp)

Parameters

message int

The raw short MIDI message (status, data1, data2 packed into a 32-bit int).

timestamp TimeSpan

The timestamp at which the message was received.

Properties

MidiEvent

The raw message interpreted as a MidiEvent

public MidiEvent MidiEvent { get; }

Property Value

MidiEvent

RawMessage

The Raw message received from the MIDI In API

public int RawMessage { get; }

Property Value

int

Timestamp

The timestamp at which this message was received, measured from when the input device was opened/started.

public TimeSpan Timestamp { get; }

Property Value

TimeSpan