Symbol

class maelzel.core.symbols.Symbol(color='')[source]

Bases: object

Base class for all symbols

Attributes Summary

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

applyToTiedGroup(notations, parent)

rtype:

None

getProperty(key[, default])

rtype:

Any

setProperty(key, value)

rtype:

None

Attributes Documentation

applyToTieStrategy = 'first'
exclusive = False
modifiesScoringContext = False
name

Methods Documentation

abstract applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None

applyToTiedGroup(notations, parent)[source]
Return type:

None

getProperty(key, default=None)[source]
Return type:

Any

setProperty(key, value)[source]
Return type:

None