Search Results for

    Show / Hide Table of Contents

    Class MidiTimeCodeEvent

    Represents MIDI Time Code (MIDI Quarter Frame) event.
    Inheritance
    object
    MidiEvent
    SystemCommonEvent
    MidiTimeCodeEvent
    Inherited Members
    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 MidiTimeCodeEvent : SystemCommonEvent
    Remarks
    A MIDI event that carries the MIDI quarter frame message is timing information in the hours:minutes:seconds:frames format (similar to SMPTE) that is used to synchronize MIDI devices.

    Constructors

    MidiTimeCodeEvent()

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

    MidiTimeCodeEvent(MidiTimeCodeComponent, FourBitNumber)

    Initializes a new instance of the MidiTimeCodeEvent with the specified time code component and its value.
    Declaration
    public MidiTimeCodeEvent(MidiTimeCodeComponent component, FourBitNumber componentValue)
    Parameters
    Type Name Description
    MidiTimeCodeComponent component MIDI time code component.
    FourBitNumber componentValue Value of component.
    Exceptions
    Type Condition
    InvalidEnumArgumentException component specified an invalid value.

    Properties

    Component

    Gets or sets the MIDI time code component presented by the current MidiTimeCodeEvent.
    Declaration
    public MidiTimeCodeComponent Component { get; set; }
    Property Value
    Type Description
    MidiTimeCodeComponent

    ComponentValue

    Gets or sets value of the MIDI time code component presented by the current MidiTimeCodeEvent.
    Declaration
    public FourBitNumber ComponentValue { get; set; }
    Property Value
    Type Description
    FourBitNumber

    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()

    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()
    In this article
    Back to top 2024 / Generated by DocFX