The Auditory Modeling Toolbox

Applies to version: 0.9.8

View the code

Go to function

ITD2ANGLELOOKUPTABLE - generates an ITD-azimuth lookup table for the given HRTF set

Usage

lookup = itd2anglelookuptable(irs,fs,model);
lookup = itd2anglelookuptable(irs,fs);
lookup = itd2anglelookuptable(irs);

Input parameters

irs HRTF data set (TU Berlin's irs format or SOFA format)
fs sampling rate, (default: 44100) / Hz
model
binaural model to use:
'dietz2011' uses the Dietz binaural model (default) 'lindemann1986' uses the Lindemann binaural model

Output parameters

lookup struct containing the polinomial fitting data for the ITD -> azimuth transformation, p,MU,S, see help polyfit

Description

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.

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 | 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.