pitchtypes.spelled.AbstractSpelledPitch

class pitchtypes.spelled.AbstractSpelledPitch

Bases: ABC

The interface for spelled pitch types.

__init__()

Methods

__init__()

letter()

Returns the letter associated with the pitch (without accidentals).

__weakref__

list of weak references to the object

abstractmethod letter()

Returns the letter associated with the pitch (without accidentals).

Returns:

letter (single-character string)