.. _moduleMusicxmlM21ToXml:

music21.musicxml.m21ToXml
=========================

.. WARNING: DO NOT EDIT THIS FILE:
   AUTOMATICALLY GENERATED.
   PLEASE EDIT THE .py FILE DIRECTLY.

.. automodule:: music21.musicxml.m21ToXml

Functions
---------

.. autofunction:: music21.musicxml.m21ToXml.accidentalToMx

.. autofunction:: music21.musicxml.m21ToXml.indent

.. autofunction:: music21.musicxml.m21ToXml.normalizeColor

.. autofunction:: music21.musicxml.m21ToXml.typeToMusicXMLType

GeneralObjectExporter
---------------------

.. autoclass:: music21.musicxml.m21ToXml.GeneralObjectExporter

.. rubric:: :class:`~music21.musicxml.m21ToXml.GeneralObjectExporter` methods

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromDiatonicScale

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromDuration

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromDynamic

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromGeneralNote

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromGeneralObject

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromMeasure

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromPart

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromPitch

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromScale

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromScore

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromStream

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromTimeSignature

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.fromVoice

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.parse

.. automethod:: music21.musicxml.m21ToXml.GeneralObjectExporter.parseWellformedObject

MeasureExporter
---------------

.. autoclass:: music21.musicxml.m21ToXml.MeasureExporter

.. rubric:: :class:`~music21.musicxml.m21ToXml.MeasureExporter` bases

- :class:`~music21.musicxml.m21ToXml.XMLExporterBase`

.. rubric:: :class:`~music21.musicxml.m21ToXml.MeasureExporter` methods

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.articulationToXmlArticulation

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.articulationToXmlTechnical

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.barlineToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.beamToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.beamsToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.chordSymbolToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.chordToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.clefToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.codaToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.durationXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.dynamicToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.expressionToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.intervalToXmlTranspose

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.keySignatureToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.lyricToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.mainElementsParse

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.midmeasureClefToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.noteToNotations

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.noteToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.noteheadToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.objectAttachedSpannersToNotations

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.parse

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.parseFlatElements

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.parseOneElement

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.pitchToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.placeInDirection

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.prePostObjectSpanners

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.repeatToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.restToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.segnoToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setBarline

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setLeftBarline

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setMxAttributes

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setMxAttributesObject

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setMxPrint

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setPrintStyleAlign

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setRbSpanners

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setRightBarline

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.setTranspose

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.staffLayoutToXmlPrint

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.staffLayoutToXmlStaffDetails

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.tempoIndicationToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.textExpressionToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.tieToXmlTie

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.tieToXmlTied

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.timeSignatureToXml

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.tupletToTimeModification

.. automethod:: music21.musicxml.m21ToXml.MeasureExporter.tupletToXmlTuplet

Methods inherited from :class:`~music21.musicxml.m21ToXml.XMLExporterBase`:

.. hlist::
   :columns: 3

   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.asBytes`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.dump`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.indent`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPageLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.setPosition`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.staffLayoutToXmlStaffLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlSystemLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.xmlHeader`

PartExporter
------------

.. autoclass:: music21.musicxml.m21ToXml.PartExporter

.. rubric:: :class:`~music21.musicxml.m21ToXml.PartExporter` bases

- :class:`~music21.musicxml.m21ToXml.XMLExporterBase`

.. rubric:: :class:`~music21.musicxml.m21ToXml.PartExporter` methods

.. automethod:: music21.musicxml.m21ToXml.PartExporter.fixupNotationFlat

.. automethod:: music21.musicxml.m21ToXml.PartExporter.fixupNotationMeasured

.. automethod:: music21.musicxml.m21ToXml.PartExporter.getXmlScorePart

.. automethod:: music21.musicxml.m21ToXml.PartExporter.instrumentSetup

.. automethod:: music21.musicxml.m21ToXml.PartExporter.instrumentToXmlMidiInstrument

.. automethod:: music21.musicxml.m21ToXml.PartExporter.instrumentToXmlScoreInstrument

.. automethod:: music21.musicxml.m21ToXml.PartExporter.parse

Methods inherited from :class:`~music21.musicxml.m21ToXml.XMLExporterBase`:

.. hlist::
   :columns: 3

   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.asBytes`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.dump`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.indent`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPageLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.setPosition`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.staffLayoutToXmlStaffLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlSystemLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.xmlHeader`

ScoreExporter
-------------

.. autoclass:: music21.musicxml.m21ToXml.ScoreExporter

.. rubric:: :class:`~music21.musicxml.m21ToXml.ScoreExporter` bases

- :class:`~music21.musicxml.m21ToXml.XMLExporterBase`

.. rubric:: :class:`~music21.musicxml.m21ToXml.ScoreExporter` methods

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.contributorToXmlCreator

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.emptyObject

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.getSupports

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.parse

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.parseFlatScore

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.parsePartlikeScore

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.postPartProcess

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.scorePreliminaries

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setDefaults

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setEncoding

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setIdentification

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setMeterStream

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setPartList

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setPartsAndRefStream

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setScoreHeader

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setScoreLayouts

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.setTitles

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.staffGroupToXmlPartGroup

.. automethod:: music21.musicxml.m21ToXml.ScoreExporter.textBoxToXmlCredit

Methods inherited from :class:`~music21.musicxml.m21ToXml.XMLExporterBase`:

.. hlist::
   :columns: 3

   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.asBytes`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.dump`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.indent`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPageLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.setPosition`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.staffLayoutToXmlStaffLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlPrint`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlSystemLayout`
   - :meth:`~music21.musicxml.m21ToXml.XMLExporterBase.xmlHeader`

XMLExporterBase
---------------

.. autoclass:: music21.musicxml.m21ToXml.XMLExporterBase

.. rubric:: :class:`~music21.musicxml.m21ToXml.XMLExporterBase` methods

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.asBytes

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.dump

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.indent

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPageLayout

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.pageLayoutToXmlPrint

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.setPosition

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.staffLayoutToXmlStaffLayout

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlPrint

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.systemLayoutToXmlSystemLayout

.. automethod:: music21.musicxml.m21ToXml.XMLExporterBase.xmlHeader
