pitchtypes.spelled_array.asp
- pitchtypes.spelled_array.asp(things, things2=None)
A quick way to construct a spelled-pitch array. Takes either an array-like of strings or spelled pitches, or two array-likes of integers (fifths and internal/dependent octaves).
- Parameters:
things – an array-like of strings / fifths (integers) /
SpelledPitch
things2 – an array-like of dependent octaves (integers), when providing fifths in the first parameter
- Returns:
a spelled-pitch array of the same shape as the input