MIDDLEEARFILTER - Middle ear filter.

Usage:
  • b = middleearfilter(fs,order);
  • b = middleearfilter(fs);
  • b = middleearfilter;

Description:

MIDDLEEARFILTER(fs,order) computes the filter coefficients of a FIR filter or order order approximating the effect of the middle ear.

MIDDLEEARFILTER(fs) does the same with a FIR filter of order 512.

MIDDLEEARFILTER without any input arguments returns a table describing the frequency response of the middle ear filter. First column of the table contain frequencies and the second column contains the amplitude of the frequency.

FIXME: Details on the final scaling. Why is it done that way?

References:

R. Goode, M. Killion, K. Nakamura, and S. Nishihara. New knowledge about the function of the human middle ear: development of an improved analog model. The American journal of otology, 15(2):145-154, 1994.

E. Lopez-Poveda and R. Meddis. A human nonlinear cochlear filterbank. The Journal of the Acoustical Society of America, 110:3107, 2001.