pymusicxml.spanners

Module containing all spanners (i.e. notations that span a time-range in the score, such as slurs, brackets, hairpins, etc.)

Classes

ChangePedal([label, sign, line, placement, ...])

Pedal change in the middle of a sustain pedal spanner.

StartBracket([label, line_type, line_end, ...])

Start of a bracket spanner.

StartDashes([label, dash_length, ...])

Start of a dashed spanner (e.g. used by a dashed "cresc." or "dim." marking).

StartHairpin(hairpin_type[, label, spread, ...])

Notation to attach to a note that starts a hairpin

StartOctaveLine([label, octaves, ...])

Start of an octave-shift line, i.e. an "8va"/"8vb"/"15ma" bracket with a dashed line and terminal hook.

StartPedal([label, sign, line, placement, ...])

Start of a sustain pedal spanner.

StartSlur([label])

Notation to attach to a note that starts a slur

StartTrill([label, placement, accidental])

Starts a trill spanner with a wavy line.

StopBracket([label, line_end, end_length, ...])

End of a bracket spanner.

StopDashes([label, text, placement, voice, ...])

End of a dashed spanner (e.g. used by a dashed "cresc." or "dim." marking).

StopHairpin([label, spread, placement, ...])

Notation to attach to a note that ends a hairpin

StopOctaveLine([label, octaves, placement, ...])

End of an octave-shift line (e.g. the end of an "8va" or "8vb").

StopPedal([label, sign, line, placement, ...])

Stops a sustain pedal spanner.

StopSlur([label])

Notation to attach to a note that ends a slur

StopTrill([label, placement])

Stops a trill spanner with a wavy line.