MidiEvent Class

Summary

Represents a midi event.
Namespace
AlphaTab.Audio.Synth.Midi.Event
Base Types
  • object
graph TD Base0["object"]-->Type Type["MidiEvent"] class Type type-node

Syntax

public class MidiEvent

Constructors

Name Summary
MidiEvent(int, int, byte, byte) Initializes a new instance of the MidiEvent class.

Properties

Name Value Summary
Channel int
Gets or sets the channel of this midi event.
Command MidiEventType
Gets or sets the command of this midi event.
Data1 int
Gets or sets the first data component of this midi event.
Data2 int
Gets or sets the second data component of this midi event.
Message int
Gets or sets the raw midi message.
Tick int
Gets or sets the absolute tick of this midi event.

Methods

Name Value Summary
WriteTo(IWriteable) void
Writes the midi event as binary into the given stream.