The idea
Sound starts with vibration. Pitch relates to frequency, and loudness depends partly on vibration amplitude and how the sound is received.
Quick revision
Two vibrating strings have the same amplitude but different frequencies. Which produces the higher pitch? The string vibrating more times each second has the higher frequency and therefore the higher pitch.