Class NormalSysExEvent
Represents a normal system exclusive event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class NormalSysExEvent : SysExEvent
Remarks
A MIDI event that carries the MIDI system exclusive message, also known as a "MIDI sysex message",
carries information that is specific to the manufacturer of the MIDI device receiving the message.
The action that this message prompts for can be anything.
Note that although the terminal 0xF7 is redundant (strictly speaking, due to the use of a length
parameter) it must be included.
System exclusive events can be split into multiple packets. In this case the first packet uses
the 0xF0 status (such event will be read as NormalSysExEvent), whereas the second and
subsequent packets use the 0xF7 status (such events will be read as EscapeSysExEvent).
This use of the 0xF7 status is referred to as a continuation event.
Constructors
NormalSysExEvent()
Initializes a new instance of the NormalSysExEvent.
Declaration
public NormalSysExEvent()
NormalSysExEvent(byte[])
Initializes a new instance of the NormalSysExEvent with the
specified data.
Declaration
public NormalSysExEvent(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
byte[] | data | Data of the sysex event. |
Methods
CloneEvent()
Clones event by creating a copy of it.
Declaration
protected override MidiEvent CloneEvent()
Returns
Type | Description |
---|---|
MidiEvent | Copy of the event. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |