Wavelength to Frequency, and the Speed of Sound
When you play music through a loudspeaker, the loudspeaker’s membrane is set in motion, alternately moving in and out. On its way out, the membrane compresses the air right in front; when moving back into the loudspeaker cabinet, it leaves more space for the air in front, causing it to rarefy.