Symbol¶
- class maelzel.core.symbols.Symbol[source]¶
Bases:
ABCBase class for all symbols
Attributes Summary
One of 'first', or 'all'
Only one of a given class
Methods Summary
applyToNotation(n, parent)Apply this symbol to the given notation, inplace
applyToTiedGroup(notations, parent)Apply this symbol to a group of tied notations, inplace.
getProperty(key[, default])Get a property value by key, or return the default value if not found.
setProperty(key, value)Set a property value by key.
Attributes Documentation
- applyToTieStrategy = 'first'¶
One of ‘first’, or ‘all’
- exclusive = False¶
Only one of a given class
- name¶
Methods Documentation
- abstract applyToNotation(n, parent)[source]¶
Apply this symbol to the given notation, inplace
- Return type:
None
- applyToTiedGroup(notations, parent)[source]¶
Apply this symbol to a group of tied notations, inplace.
- Return type:
None