phi = itd2angle(itd,lookup)
itd | ITDs to convert to angles |
lookup | a struct containing the polinomial fitting entries p,MU,S. This struct can be generated by itd2angle_lookuptable |
phi | angles for the corresponding ITD values / deg |
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 itd2angle_lookuptable.