Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SmoToXml

Convert SmoScore object into a music XML serialization

usage: xdoc: XmlDocument = SmoToXml.convert(score)

Hierarchy

  • SmoToXml

Index

Constructors

Methods

  • barline(measureElement: Element, smoState: SmoState, start: boolean): void
  • beamNote(noteElement: Element, smoState: SmoState): void
  • clef(attributesElement: Element, smoState: SmoState): void
  • direction(measureElement: Element, smoState: SmoState, beforeNote: boolean): void
  • lyric(noteElement: Element, smoState: SmoState): void
  • measure(measureElement: Element, smoState: SmoState): void
  • pitch(pitch: Pitch, noteElement: Element): void
  • prettifyXml(xmlDoc: XMLDocument): Document
  • MuseScore doesn't like minified xml, so we pretty-print it.

    Parameters

    • xmlDoc: XMLDocument

    Returns Document

  • slur(notationsElement: Element, smoState: SmoState): void
  • time(attributesElement: Element, smoState: SmoState): void
  • transpose(attributesElement: Element, smoState: SmoState): void

Generated using TypeDoc