Class FileHeaderToken
Represents the data of a header chunk of a MIDI file.
Inherited Members
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. |