![]() | SimpleMidiMessage Structure |
Namespace: MidiGremlin.Internal
The SimpleMidiMessage type exposes the following members.
Name | Description | |
---|---|---|
![]() | SimpleMidiMessage |
Constructs a new SimpleMidiMessage with the following data and timestramp.
|
Name | Description | |
---|---|---|
![]() | Channel |
The channel specified in this SimpleMidiMessage.
The upper 4 bits of this property will always be zero.
|
![]() | Pitch |
The pitch part of this SimpleMidiMessage.
If the Type is not Note On (0x9) or Note Off(0x8) this property won't contain the Pitch of the inner MIDI message but the
related field at the same offset.
|
![]() | Type |
The MIDI event type this SimpleMidiMessage represents.
The upper 4 bits of this property will always be zero.
For more info on what this property means here.
|
![]() | Velocity |
The velocity of this SimpleMidiMessage.
If the Type is not Note On (0x9) or Note Off(0x8) this property won't contain the Veloctiy of the inner MIDI message but the
related field at the same offset or blank if it is a 2 byte message.
|
Name | Description | |
---|---|---|
![]() | Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(SimpleMidiMessage) |
Determines whether this instance and another specified SimpleMidiMessage object have the same value.
|
![]() | GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | ToString |
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.) |
![]() | WithChannel |
Returns a copy of this SimpleMidiMessage with the channel changed to channel.
|
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Compares the equality of two SimpleMidiMessage.
|
![]() ![]() | Inequality |
Compares the inequality of two SimpleMidiMessage.
|
Name | Description | |
---|---|---|
![]() | Data |
The MIDI data that is supposed to be executed. To perserve compability with the WinMM API, this is stored with the least signifigant byte being the first to be played.
|
![]() | Timestamp |
The timestramp, in beats since the start of the play, that this SimpleMidiMessage is supposed to be executed.
|