Converts a pitch to a spatial frequency and vice versa.