This frequency limit is caused by the middle ear that acts as a low-pass filter . The upper frequency limit in humans ( approximately 20 kHz ) is due to limitations of the middle ear , which acts as a low-pass filter .