pyabc2.PitchClass.from_name

classmethod PitchClass.from_name(name)

From pitch class name (e.g., C, F#).

name is preserved (name) if using this initializer.

Parameters:

name (str)

Return type:

PitchClass