Planeshift
|
Extends the class MeasureElement by adding the ability to parse MusicXML. More...
#include <musicxmlscore.h>
Public Member Functions | |
bool | LoadXMLNote (const csRef< iDocumentNode > ¬eNode, int divisions) |
Load a note from the given <note> node. | |
csString | ToXML () |
Convert the note to XML. |
Extends the class MeasureElement by adding the ability to parse MusicXML.
Definition at line 48 of file musicxmlscore.h.
bool MusicXMLElement::LoadXMLNote | ( | const csRef< iDocumentNode > & | noteNode, |
int | divisions | ||
) |
Load a note from the given <note> node.
If this element contain already one or more note, only notes that present the <chord/> tag are accepted.
noteNode | a reference to the <note> node containing the definition of the note in MusicXML syntax. |
divisions | divisions per quarter used by the score to indicate duration. |
csString MusicXMLElement::ToXML | ( | ) |
Convert the note to XML.