Transpose

class maelzel.core.symbols.Transpose(interval)[source]

Bases: EventSymbol

Apply a transposition for notation only

Notice that this will not have any effect other than modify the pitch used for notation.

See also

NotatedPitch

Attributes Summary

appliesToRests

applyToAllParts

applyToTieStrategy

One of 'first', or 'all'

exclusive

Only one of a given class

Methods Summary

applyToFragment(part[, start, end])

applyToNotation(n[, parent])

Apply this symbol to the given notation, inplace

applyToPart(part)

Attributes Documentation

appliesToRests = False
applyToAllParts = True
applyToTieStrategy = 'all'

One of ‘first’, or ‘all’

exclusive = True

Only one of a given class

Methods Documentation

applyToFragment(part, start=Fraction(0, 1), end=Fraction(0, 1))[source]
Return type:

None

applyToNotation(n, parent=None)[source]

Apply this symbol to the given notation, inplace

Return type:

None

applyToPart(part)[source]
Return type:

None