Add Freq method to pitches for calculating frequencies.