pyabc2.Pitch.from_etf¶ classmethod Pitch.from_etf(f)¶ From frequency, rounding to the nearest piano key. Parameters: f (float) Return type: Pitch