xsd.xsdindicator

class musicxml.xsd.xsdindicator.XSDChoice(xsd_tree)[source]

Bases: object

property xsd_tree
class musicxml.xsd.xsdindicator.XSDGroup[source]

Bases: XSDTreeElement

property name
property sequence
property xsd_tree
class musicxml.xsd.xsdindicator.XSDGroupAllMargins[source]

Bases: XSDGroup

The all-margins group specifies both horizontal and vertical margins in tenths.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=all-margins)
class musicxml.xsd.xsdindicator.XSDGroupBeatUnit[source]

Bases: XSDGroup

The beat-unit group combines elements used repeatedly in the metronome element to specify a note within a metronome mark.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=beat-unit)
class musicxml.xsd.xsdindicator.XSDGroupClef[source]

Bases: XSDGroup

Clefs are represented by a combination of sign, line, and clef-octave-change elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=clef)
class musicxml.xsd.xsdindicator.XSDGroupDisplayStepOctave[source]

Bases: XSDGroup

The display-step-octave group contains the sequence of elements used by both the rest and unpitched elements. This group is used to place rests and unpitched elements on the staff without implying that these elements have pitch. Positioning follows the current clef. If percussion clef is used, the display-step and display-octave elements are interpreted as if in treble clef, with a G in octave 4 on line 2.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=display-step-octave)
class musicxml.xsd.xsdindicator.XSDGroupDuration[source]

Bases: XSDGroup

The duration element is defined within a group due to its uses within the note, figured-bass, backup, and forward elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=duration)
class musicxml.xsd.xsdindicator.XSDGroupEditorial[source]

Bases: XSDGroup

The editorial group specifies editorial information for a musical element.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=editorial)
class musicxml.xsd.xsdindicator.XSDGroupEditorialVoice[source]

Bases: XSDGroup

The editorial-voice group supports the common combination of editorial and voice information for a musical element.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=editorial-voice)
class musicxml.xsd.xsdindicator.XSDGroupEditorialVoiceDirection[source]

Bases: XSDGroup

The editorial-voice-direction group supports the common combination of editorial and voice information for a direction element. It is separate from the editorial-voice element because extensions and restrictions might be different for directions than for the note and forward elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=editorial-voice-direction)
class musicxml.xsd.xsdindicator.XSDGroupFootnote[source]

Bases: XSDGroup

The footnote element specifies editorial information that appears in footnotes in the printed score. It is defined within a group due to its multiple uses within the MusicXML schema.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=footnote)
class musicxml.xsd.xsdindicator.XSDGroupFullNote[source]

Bases: XSDGroup

The full-note group is a sequence of the common note elements between cue/grace notes and regular (full) notes: pitch, chord, and rest information, but not duration (cue and grace notes do not have duration encoded). Unpitched elements are used for unpitched percussion, speaking voice, and other musical elements lacking determinate pitch.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=full-note)
class musicxml.xsd.xsdindicator.XSDGroupHarmonyChord[source]

Bases: XSDGroup

A harmony element can contain many stacked chords (e.g. V of II). A sequence of harmony-chord groups is used for this type of secondary function, where V of II would be represented by a harmony-chord with a 5 numeral followed by a harmony-chord with a 2 numeral.

A root is a pitch name like C, D, E, while a numeral is a scale degree like 1, 2, 3. The root element is generally used with pop chord symbols, while the numeral element is generally used with classical functional harmony and Nashville numbers. It is an either/or choice to avoid data inconsistency. The function element, which represents Roman numerals with roman numeral text, has been deprecated as of MusicXML 4.0.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=harmony-chord)
class musicxml.xsd.xsdindicator.XSDGroupLayout[source]

Bases: XSDGroup

The layout group specifies the sequence of page, system, and staff layout elements that is common to both the defaults and print elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=layout)
class musicxml.xsd.xsdindicator.XSDGroupLeftRightMargins[source]

Bases: XSDGroup

The left-right-margins group specifies horizontal margins in tenths.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=left-right-margins)
class musicxml.xsd.xsdindicator.XSDGroupLevel[source]

Bases: XSDGroup

The level element specifies editorial information for different MusicXML elements. It is defined within a group due to its multiple uses within the MusicXML schema.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=level)
class musicxml.xsd.xsdindicator.XSDGroupMusicData[source]

Bases: XSDGroup

The music-data group contains the basic musical data that is either associated with a part or a measure, depending on whether the partwise or timewise hierarchy is used.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=music-data)
class musicxml.xsd.xsdindicator.XSDGroupNonTraditionalKey[source]

Bases: XSDGroup

The non-traditional-key group represents a single alteration within a non-traditional key signature. A sequence of these groups makes up a non-traditional key signature

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=non-traditional-key)
class musicxml.xsd.xsdindicator.XSDGroupPartGroup[source]

Bases: XSDGroup

The part-group element is defined within a group due to its multiple uses within the part-list element.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=part-group)
class musicxml.xsd.xsdindicator.XSDGroupScoreHeader[source]

Bases: XSDGroup

The score-header group contains basic score metadata about the work and movement, score-wide defaults for layout and fonts, credits that appear on the first or following pages, and the part list.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=score-header)
class musicxml.xsd.xsdindicator.XSDGroupScorePart[source]

Bases: XSDGroup

The score-part element is defined within a group due to its multiple uses within the part-list element.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=score-part)
class musicxml.xsd.xsdindicator.XSDGroupSlash[source]

Bases: XSDGroup

The slash group combines elements used for more complete specification of the slash and beat-repeat measure-style elements. They have the same values as the type and dot elements, and define what the beat is for the display of repetition marks. If not present, the beat is based on the current time signature.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=slash)
class musicxml.xsd.xsdindicator.XSDGroupStaff[source]

Bases: XSDGroup

The staff element is defined within a group due to its use by both notes and direction elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=staff)
class musicxml.xsd.xsdindicator.XSDGroupTimeSignature[source]

Bases: XSDGroup

Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=time-signature)
class musicxml.xsd.xsdindicator.XSDGroupTraditionalKey[source]

Bases: XSDGroup

The traditional-key group represents a traditional key signature using the cycle of fifths.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=traditional-key)
class musicxml.xsd.xsdindicator.XSDGroupTranspose[source]

Bases: XSDGroup

The transpose group represents what must be added to a written pitch to get a correct sounding pitch.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=transpose)
class musicxml.xsd.xsdindicator.XSDGroupTuning[source]

Bases: XSDGroup

The tuning group contains the sequence of elements common to the staff-tuning and accord elements.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=tuning)
class musicxml.xsd.xsdindicator.XSDGroupVirtualInstrumentData[source]

Bases: XSDGroup

Virtual instrument data can be part of either the score-instrument element at the start of a part, or an instrument-change element within a part.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=virtual-instrument-data)
class musicxml.xsd.xsdindicator.XSDGroupVoice[source]

Bases: XSDGroup

A voice is a sequence of musical events (e.g. notes, chords, rests) that proceeds linearly in time. The voice element is used to distinguish between multiple voices in individual parts. It is defined within a group due to its multiple uses within the MusicXML schema.

XSD_TREE: XSDTree | None = XSDTree(tag=group, name=voice)
class musicxml.xsd.xsdindicator.XSDSequence(xsd_tree)[source]

Bases: object

property elements
property xsd_tree