Search Results for

    Show / Hide Table of Contents

    Class SequencerSpecificEvent

    Represents a Sequencer Specific meta event.
    Inheritance
    object
    MidiEvent
    MetaEvent
    SequencerSpecificEvent
    Inherited Members
    MetaEvent.GetStandardMetaEventStatusBytes()
    MidiEvent.UnknownContentSize
    MidiEvent.EventType
    MidiEvent.DeltaTime
    MidiEvent.Clone()
    MidiEvent.Equals(MidiEvent, MidiEvent)
    MidiEvent.Equals(MidiEvent, MidiEvent, out string)
    MidiEvent.Equals(MidiEvent, MidiEvent, MidiEventEqualityCheckSettings)
    MidiEvent.Equals(MidiEvent, MidiEvent, MidiEventEqualityCheckSettings, out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Melanchall.DryWetMidi.Core
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class SequencerSpecificEvent : MetaEvent
    Remarks
    The MIDI sequencer specific meta message carries information that is specific to a MIDI sequencer produced by a certain MIDI manufacturer.

    Constructors

    SequencerSpecificEvent()

    Initializes a new instance of the SequencerSpecificEvent.
    Declaration
    public SequencerSpecificEvent()

    SequencerSpecificEvent(byte[])

    Initializes a new instance of the SequencerSpecificEvent with the specified data.
    Declaration
    public SequencerSpecificEvent(byte[] data)
    Parameters
    Type Name Description
    byte[] data Sequencer specific data.

    Properties

    Data

    Gets or sets sequencer specific data.
    Declaration
    public byte[] Data { get; set; }
    Property Value
    Type Description
    byte[]

    Methods

    CloneEvent()

    Clones event by creating a copy of it.
    Declaration
    protected override MidiEvent CloneEvent()
    Returns
    Type Description
    MidiEvent Copy of the event.
    Overrides
    MidiEvent.CloneEvent()

    GetContentSize(WritingSettings)

    Gets the size of the content of a MIDI meta event.
    Declaration
    protected override int GetContentSize(WritingSettings settings)
    Parameters
    Type Name Description
    WritingSettings settings Settings according to which the event's content must be written.
    Returns
    Type Description
    int Size of the event's content.
    Overrides
    MetaEvent.GetContentSize(WritingSettings)

    ReadContent(MidiReader, ReadingSettings, int)

    Reads content of a MIDI meta event.
    Declaration
    protected override void ReadContent(MidiReader reader, ReadingSettings settings, int size)
    Parameters
    Type Name Description
    MidiReader reader Reader to read the content with.
    ReadingSettings settings Settings according to which the event's content must be read.
    int size Size of the event's content.
    Overrides
    MetaEvent.ReadContent(MidiReader, ReadingSettings, int)
    Exceptions
    Type Condition
    ArgumentOutOfRangeException Sequencer specific event cannot be read since the size is negative number.

    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.
    Overrides
    object.ToString()

    WriteContent(MidiWriter, WritingSettings)

    Writes content of a MIDI meta event.
    Declaration
    protected override void WriteContent(MidiWriter writer, WritingSettings settings)
    Parameters
    Type Name Description
    MidiWriter writer Writer to write the content with.
    WritingSettings settings Settings according to which the event's content must be written.
    Overrides
    MetaEvent.WriteContent(MidiWriter, WritingSettings)
    In this article
    Back to top 2024 / Generated by DocFX