Clef

class maelzel.core.symbols.Clef(kind)[source]

Bases: EventSymbol

An explicit clef sign

Parameters:

kind (str) – one of ‘treble15’, ‘treble8’, ‘treble’, ‘bass’, ‘alto’, ‘bass8’, ‘bass15’

Some clefs have alternate names:

Clef

Aliases

treble

violin, g

bass

f

alto

viola

Attributes Summary

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

Attributes Documentation

appliesToRests = True
exclusive = True

Methods Documentation

applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None