[Open all] [Close all]
Reading Humdrum data
Humdrum data can be loaded into the HumdrumFile class in several ways, either from a file or parsed from a text string. In addition, CSV variants of Humdrum files can be loaded directly into the HumdrumFile class, as well as HumdrumXML files in the future.Reading from a file
Data can be read through the HumdrumFile constructors. Either pass a string containing a filename to read, or an istream to read a previously opened file (or to read from a stringstream).Reading from filename: | Reading from istream: |
Reading from filename: | Reading from istream: |