The number of rarefactions and compressions that occur per unit of time is known as the frequency of a sound wave.