Class SongPositionPointerEvent
Represents Song Position Pointer event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class SongPositionPointerEvent : SystemCommonEvent
Remarks
A MIDI event that carries the MIDI song position pointer message tells a MIDI device
to cue to a point in the MIDI sequence to be ready to play.
Constructors
SongPositionPointerEvent()
Initializes a new instance of the SongPositionPointerEvent.
Declaration
public SongPositionPointerEvent()
SongPositionPointerEvent(ushort)
Initializes a new instance of the SongPositionPointerEvent with the specified
MSB and LSB parts of the pointer value.
Declaration
public SongPositionPointerEvent(ushort pointerValue)
Parameters
Type | Name | Description |
---|---|---|
ushort | pointerValue | The value of a song position pointer. |
Properties
PointerValue
Gets the song position pointer value.
Declaration
public ushort PointerValue { get; set; }
Property Value
Type | Description |
---|---|
ushort |
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. |