Accidental¶
- class maelzel.core.symbols.Accidental(hidden=False, parenthesis=False, color='', force=False, size=None)[source]¶
Bases:
NoteheadSymbolCustomizes 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
Only one of a given class
Methods Summary
applyToPitch(n, idx, parent)Attributes Documentation
- appliesToRests = False¶
- exclusive = True¶
Only one of a given class
Methods Documentation