NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
|
A structure holding data which represent the header of a MIDI file. More...
#include <fileread.h>
Public Attributes | |
short | format |
The file format (currently only 0 and 1 are allowed by the library). More... | |
short | ntrks |
The number of tracks. More... | |
short | division |
The number of MIDI ticks for a quarter note. More... | |
std::string | filename |
The file name. More... | |
A structure holding data which represent the header of a MIDI file.
This is useful if you want to load a file, edit it and then save it with the same format and name (the AdvancedSequencer class does this automatically when it loads and saves MIDI files). You can get the header of a MIDI file with the GetMIDIFileHeader() global function; see also LoadMIDIFile().
short MIDIFileHeader::format |
The file format (currently only 0 and 1 are allowed by the library).
short MIDIFileHeader::ntrks |
The number of tracks.
short MIDIFileHeader::division |
The number of MIDI ticks for a quarter note.
std::string MIDIFileHeader::filename |
The file name.