A class library for opening, parsing, and saving MIDI files.

MIDIFile.Header Property

Gets the Header chunk of the MIDIFile.

public Header Header {get;}

Property Value

The Header chunk of the MIDIFile.

Remarks

Returns the first Chunk in the ChunkCollection. The first Chunk should always be a Header chunk.

Example

            EF.SimpleMIDI.MIDIFile mf;
            mf = new EF.SimpleMIDI.MIDIFile(@"C:\WINNT\Media\CANYON.MID");
            mf.Header.FileType = EF.SimpleMIDI.MIDIFileType.SingleTrack;
            

See Also

MIDIFile Class | EF.SimpleMIDI Namespace