using System; namespace PIANO2.Message { /// /// Defines constants representing MIDI message types. /// public enum MessageType { Channel, SystemExclusive, SystemCommon, SystemRealtime, Meta } /// /// Represents the basic functionality for all MIDI messages. /// public interface IMidiMessage { /// /// Gets a byte array representation of the MIDI message. /// /// /// A byte array representation of the MIDI message. /// byte[] GetBytes(); /// /// Gets the MIDI message's status value. /// int Status { get; } /// /// Gets the MIDI event's type. /// MessageType MessageType { get; } } }