lookup = itd2anglelookuptable(irs,fs,model); lookup = itd2anglelookuptable(irs,fs); lookup = itd2anglelookuptable(irs);
irs | HRTF data set (at the moment only TU Berlin irs format) |
fs | sampling rate, (default: 44100) / Hz |
model |
|
lookup | struct containing the polinomial fitting data for the ITD -> azimuth transformation, p,MU,S, see help polyfit |
itd2anglelookuptable(irs) creates a lookup table from the given IR 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 file format this function depends on the Sound-Field-Synthesis Toolbox, which is available here: http://github.com/sfstoolbox/sfs. It runs under Matlab and Octave. The revision used to genrate the figures in the corressponding paper is a8914700a4.
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 | http ]
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.