pyabc2.PitchClass.from_pitch

classmethod PitchClass.from_pitch(p)

From pitch instance.

Parameters:

p (Pitch)

Return type:

PitchClass