What Affects the Pitch of Sound?

The pitch of sound is directly related to amplitude and frequency of sound waves. As frequency is increased, the higher the pitch, and the higher the amplitude of the sound, the louder the pitch.