Search Results for

    Show / Hide Table of Contents

    Class FileHeaderToken

    Represents the data of a header chunk of a MIDI file.
    Inheritance
    object
    MidiToken
    FileHeaderToken
    Inherited Members
    MidiToken.TokenType
    MidiToken.Position
    MidiToken.Length
    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 FileHeaderToken : MidiToken

    Properties

    FileFormat

    Gets the format (see MidiFileFormat) of a MIDI file.
    Declaration
    public ushort FileFormat { get; }
    Property Value
    Type Description
    ushort

    TimeDivision

    Gets the time division of a MIDI file.
    Declaration
    public TimeDivision TimeDivision { get; }
    Property Value
    Type Description
    TimeDivision

    TracksNumber

    Gets the number of track chunks in a MIDI file.
    Declaration
    public ushort TracksNumber { get; }
    Property Value
    Type Description
    ushort

    Methods

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

    See Also

    MidiTokensReader
    In this article
    Back to top 2024 / Generated by DocFX