pyabc2.Note.from_pitch

classmethod Note.from_pitch(p, *, duration=Fraction(1, 8))

From pitch instance.

Parameters:
Return type:

Note