Change pitches based on window size