/** * (C) Jocelyn Stericker 2015. * Part of the musicxml-interfaces . * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * ***************************************************************** * * MusicXML™ Version 3.0 * * Copyright © 2004-2011 MakeMusic, Inc. * http://www.makemusic.com/ * * This MusicXML™ work is being provided by the copyright * holder under the MusicXML Public License Version 3.0, * available from: * * http://www.musicxml.org/dtds/license.html * This file contains multiple DTDs. */ /** * Converts a MusicXML document into a MusicXML parttime-inspired JSON object. * See ScoreTimewise for full return type specification. * * This function will accept timepart MusicXML files, but will still return a * structure similar to parttime. */ export declare function parseScore(score: string): ScoreTimewise; /** * Reads a document, and returns header information. * * ScoreHeader is a subset of ScoreTimewise, so you can always just call MusicXML.parse.score. * This function is a bit faster though, if you only care about metadata. */ export declare function paseScoreHeader(score: string): ScoreHeader; /** * Converts a MusicXML from a **parttime** document into JSON. */ export declare function parseMeasure(str: string): Measure; /** * Converts a MusicXML into JSON. */ export declare function parseNote(str: string): Note; /** * Converts a MusicXML into JSON. */ export declare function parseClef(str: string): Clef; /** * Converts a MusicXML