pitchtypes.spelled_array.AbstractSpelledArrayPitch

class pitchtypes.spelled_array.AbstractSpelledArrayPitch

Bases: ABC

The interface for spelled pitch array types.

__init__()

Methods

__init__()

letter()

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

__weakref__

list of weak references to the object (if defined)

abstract letter()

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

Returns:

an array of pitch letters (single-character strings)