A system that includes a microphone array comprising a plurality of microphones positioned at different locations, where the microphones output microphone signals. A beamformer is applied to the microphone output signals and is configured to control a gain that is applied to the microphone output signals. The gain is frequency dependent and is related to a mismatch in sensitivity between two or more of the microphones.