humdrum-js

A Javascript parser for musical data in the Humdrum syntax

The Humdrum object is the top-level interface for managing Humdrum data.


Inherited functions

From HumdrumBase

clear — Intialize variables for object.
parse — Create obj. from input string, URL, URI, element, selector.
getLineCount — Return the number of line records in data.
getLine — Return a HumdrumLine object.
analyzeReferenceRecords — Create reference record database object.
stringify — Convert object to plain text.
getRefFirst — Get the first reference record matching key in data.
getRefAll — Get array of all keys of the given type.
getRefFirstExact — Get the first reference record that matches key plus qualifiers.
getRefAllExact — Get array of all keys of the given type that matches key plus qualifiers.
getAllRefs — Return a list of all references.
getRefs — Return a list of all references that match key list.
getComposerRefs — Return list of refs related to composers.
getOpusRefs — Return list of refs related to work.
expandAtTemplate — Expand template with ref records.