pitchtypes.spelled_array.aspc

pitchtypes.spelled_array.aspc(things)

A quick way to construct a spelled-pitch-class array. Takes either an array-like of strings or spelled pitch classes, or an array-like of integers (fifths).

Parameters:

things – an array-like of strings / fifths (integers) / SpelledPitchClass

Returns:

a spelled-pitch-class array of the same shape as the input