BeamSubdivision

class maelzel.core.symbols.BeamSubdivision(minimum=0, maximum=0)[source]

Bases: EventSymbol, PartMixin

Customize beam subdivision

The customization is applied to the beat starting at this event

The beams of consecutive 16th (or shorter) notes are, by default, not subdivided. That is, the beams of more than two stems stretch unbroken over entire groups of notes. This behavior can be modified to subdivide the beams into sub-groups. Beams will be subdivided at intervals to match the metric value of the subdivision.

Note

At the moment this is only supported by the lilypond backend

Parameters:
  • minimum (int | Fraction) – minimum limit of beam subdivision. A fraction or simply the denominator. 1/8 indicates an eighth note, 16 indicates a 16th note

  • maximum (int | Fraction) – maximum limit of beam subdivision. Similar to minimum

Attributes Summary

appliesToRests

exclusive

Only one of a given class

Methods Summary

Attributes Documentation

appliesToRests = True
exclusive = True

Only one of a given class

Methods Documentation

applyToPart(part)[source]
Return type:

None

scoringAttachment()[source]
Return type:

Attachment