HEADPHONEFILTER - Combined headphone and outer ear filter.

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

Description:

HEADPHONEFILTER(fs,order) computes the filter coefficients of a FIR filter or order order approximating the combined effect of headphones and the outer ear. The data describes a generic set of headphones.

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

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

References:

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

D. Pralong and S. Carlile. The role of individualized headphone calibration for the generation of high fidelity virtual auditory space. The Journal of the Acoustical Society of America, 100:3785, 1996.