opensheetmusicdisplay
Version:
An open source JavaScript engine for displaying MusicXML based on VexFlow.
36 lines (35 loc) • 1.35 kB
TypeScript
import { VoiceEntry } from "../../VoiceData/VoiceEntry";
import { IXmlElement } from "../../../Common/FileIO/Xml";
import { Note } from "../../VoiceData/Note";
import { EngravingRules } from "../../Graphical/EngravingRules";
export declare class ArticulationReader {
private rules;
constructor(rules: EngravingRules);
private getAccEnumFromString;
/**
* This method adds an Articulation Expression to the currentVoiceEntry.
* @param node
* @param currentVoiceEntry
*/
addArticulationExpression(node: IXmlElement, currentVoiceEntry: VoiceEntry): void;
/**
* This method add a Fermata to the currentVoiceEntry.
* @param xmlNode
* @param currentVoiceEntry
*/
addFermata(xmlNode: IXmlElement, currentVoiceEntry: VoiceEntry): void;
/**
* This method add a technical Articulation to the currentVoiceEntry.
* @param technicalNode
* @param currentVoiceEntry
*/
addTechnicalArticulations(technicalNode: IXmlElement, currentVoiceEntry: VoiceEntry, currentNote: Note): void;
private createTechnicalInstruction;
private getPlacement;
/**
* This method adds an Ornament to the currentVoiceEntry.
* @param ornamentsNode
* @param currentVoiceEntry
*/
addOrnament(ornamentsNode: IXmlElement, currentVoiceEntry: VoiceEntry): void;
}