Pitch is a sound characteristic that allows for the identification of sounds based on their frequency. Only sounds with a consistent frequency can be used to calculate pitch. This sets it apart from background noise.
Pitch is measured in terms of frequency. The number of waves that travel through a fixed place in one unit of time is known as frequency.
Higher frequency refers to higher pitch and vice versa.
Hence, the pitch of a sound is determined by its frequency.