lookup = itd2angle_lookuptable(hrtf,fs,model); lookup = itd2angle_lookuptable(hrtf,fs); lookup = itd2angle_lookuptable(hrtf);
|hrtf||HRTF data set (as SOFA file or struct)|
|fs||sampling rate, (default: 44100) / Hz|
|lookup||struct containing the polinomial fitting data for the ITD -> azimuth transformation, p,MU,S, see help polyfit|
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. The azimuth angle is stored in degree in the lookup table.
For the handling of the HRTF SOFA file format see http://www.sofaconventions.org/
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.