Module musx.mxml

Provides support for reading and writing data from MusicXml files. The complete MusicXml schema is defined in the file musicxml.py, which was auto-generated using the awesome generateDS package.

Expand source code
"""
Provides support for reading and writing data from MusicXml files.
The complete MusicXml schema is defined in the file musicxml.py, which was auto-generated
using the awesome [generateDS](https://pypi.org/project/generateDS/) package.
"""

from .barline import *
from .clef import *
from .key import *
from .mark import *
from .measure import *
from .meter import *
from .part import *
from .notation import *


__all__ = ['barline', 'clef', 'key', 'mark', 'measure', 'meter', 'part', 'notation']

Sub-modules

musx.mxml.barline

An enumeration of measure barlines: Regular, Dotted, Dashed, Tick, Short, Heavy, HeavyHeavy, HeavyLight, InteriorDouble, FinalDouble, BackwardRepeat, …

musx.mxml.clef

An enumeration of music clefs: Treble, Soprano, MezzoSoprano, Alto, Tenor, Baritone, Bass, Treble8va, Bass8va, Treble15ma, Bass15ma, TenorTreble, …

musx.mxml.key

A class that represents a key signature and mode.

musx.mxml.mark

The Mark class inherits from IntEnum to enumerate various types of notation marks that appear in musical scores. Marks belong to one of four top-level …

musx.mxml.measure

A class that represents a measure of music in a Part.

musx.mxml.meter

A class representing standard musical meters.

musx.mxml.mode

An enumeration of the diatonc modes: MAJOR, MINOR, IONIAN, DORIAN, PHRYGIAN, LYDIAN, MIXOLYDIAN, AEOLIAN, and LOCRIAN. IONIAN and AEOLIAN are synonyms …

musx.mxml.musicxml

A module that implements the complete MusicXml schema. This file was created using generateDS and is too large to include in the documentation.

musx.mxml.notation

A module for loading and saving MusicXml scores.

musx.mxml.part

A class that represents a musical part in a Notation.

musx.mxml.voice

A class that represents a musical Voice in a Bar. One voice holds a single timeline of notes; multiple voices represent parallel streams of notes.