Methods
Static barline
- barline(measureElement: Element, smoState: SmoState, start: boolean): void
Parameters
measureElement: Element
start: boolean
Returns void
Static beamNote
- beamNote(noteElement: Element, smoState: SmoState): void
Static clef
- clef(attributesElement: Element, smoState: SmoState): void
Parameters
attributesElement: Element
Returns void
Static convert
Parameters
Returns XMLDocument
Static direction
- direction(measureElement: Element, smoState: SmoState, beforeNote: boolean): void
Parameters
measureElement: Element
beforeNote: boolean
Returns void
Static key
Parameters
attributesElement: Element
Returns void
Static lyric
- lyric(noteElement: Element, smoState: SmoState): void
Static measure
- measure(measureElement: Element, smoState: SmoState): void
Static pitch
- pitch(pitch: Pitch, noteElement: Element): void
Static prettifyXml
- prettifyXml(xmlDoc: XMLDocument): Document
Parameters
Returns Document
Static slur
- slur(notationsElement: Element, smoState: SmoState): void
Parameters
notationsElement: Element
Returns void
Static time
- time(attributesElement: Element, smoState: SmoState): void
Parameters
attributesElement: Element
Returns void
Static transpose
- transpose(attributesElement: Element, smoState: SmoState): void
Parameters
attributesElement: Element
Returns void
Convert SmoScore object into a music XML serialization
usage:
xdoc: XmlDocument = SmoToXml.convert(score)