THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

itd2angle_lookuptable
Generate an ITD-azimuth lookup table from an HRTF set

Usage:

lookup = itd2angle_lookuptable(hrtf,fs,model);
lookup = itd2angle_lookuptable(hrtf,fs);
lookup = itd2angle_lookuptable(hrtf);

Input parameters:

hrtf SOFA structure with the HRTF data set.
fs Optional sampling rate (in Hz). Default: 44100 Hz.
model

Optional string with binaural model to be used to calculate the perceived azimuth angle:

Output parameters:

lookup

Structure containing the results from the polynomial fitting used later by itd2angle:

  • p, MU, S: parameters obtained from the function polyfit (polynomial parameters, structure, and statistics), see the documentation of polyfit. These parameters describe the fitting based on the ITDs.
  • p_ild, MU_ild, S_ild: parameters as above, describing the fitting based on the ILDs. This output is currently unused in the AMT and will be removed in the future.

Description:

itd2angle_lookuptable(hrtf) creates a lookup table from the given HRTF data set. This lookup table can be used by the dietz2011 or lindemann1986 binaural models to predict the perceived direction of arrival of an auditory event.

References:

M. Dietz, S. D. Ewert, and V. Hohmann. Auditory model based direction estimation of concurrent speakers from binaural signals. Speech Communication, 53(5):592--605, 2011. [ DOI ]

H. Wierstorf, M. Geier, A. Raake, and S. Spors. A free database of head-related impulse response measurements in the horizontal plane with multiple distances. In Proceedings of the 130th Convention of the Audio Engineering Society, 2011.

H. Wierstorf, A. Raake, and S. Spors. Binaural assessment of multi-channel reproduction. In J. Blauert, editor, The technology of binaural listening, chapter 10. Springer, Berlin--Heidelberg--New York NY, 2013.