EventSymbol

class maelzel.core.symbols.EventSymbol(color='', placement='')[source]

Bases: Symbol

Base-class for all event-attached symbols

These are symbols attached to one event (note, chord, rest, clip, …). The color and placement attributes do not apply for all symbols of this kind but we include it at this level to make the structure simpler

Attributes Summary

Methods Summary

checkAnchor(anchor)

Returns an error message if the event cannot add this symbol

Attributes Documentation

appliesToRests = True

Methods Documentation

checkAnchor(anchor)[source]

Returns an error message if the event cannot add this symbol

Return type:

str