The sound from a mosquito is produced when it vibrates its wings.
Amplitude is the size of the vibration, and this determines how loud the sound is. Frequency is the speed of the vibration, and this determines the pitch of the sound. Frequency and amplitude are independent of each other.