Accidental¶
- class maelzel.core.symbols.Accidental(hidden=False, parenthesis=False, color='', force=False, size=None)[source]¶
Bases:
NoteheadAttachedSymbol
Customizes the accidental of a note
An accidental applies to a note/chord and is bound to the note/chord. Within a chord any accidental attached to its individual notes is …
TODO: clear what happends with symbols within a chord
- Parameters:
hidden – is this accidental hidden?
parenthesis – put this accidental between parenthesis?
color – the color of this accidental
force – if True, force the accidental to be shown
size (
Optional
[float
]) – a size factor
Attributes Summary
Methods Summary
applyToPitch
(n, idx, parent)- rtype:
None
Attributes Documentation
- appliesToRests = False¶
- exclusive = True¶
Methods Documentation