THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.7

View the code

Go to function

ITD2ANGLE - converts the given ITD to an angle using a lookup table

Usage

phi = itd2angle(itd,ild,f_inst,tr)

Input parameters

itd ITDs to convert to angles
lookup a struct containing the polinomial fitting entries p,MU,S. This struct can be generated by itd2anglelookuptable

Output parameters

phi angles for the corresponding ITD values / deg

Description

itd2angle(itd,lookup) converts the given ITD values to azimuth angles phi. Therefore a lookup table containing the polynomial fitting parameters is used. This lookup table is created from a set of HRTFs with known azimuth angles and stores the corresponding ITD values. itd2angle works with dietz2011 and lindemann1986. Corresponding lookup tables can be created by itd2anglelookuptable.