THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.5

View the code

Go to function

READ_HRTF - Read HRTF from selected databases

Usage

hrtf = read_hrtf(elev,azim,database);

Input parameters

elev \((-90 -> +90)\) elevation of source with respect to head in degrees Both databases have a range of elevations, but more limited in the Oldenburg case.
azim \((-360 -> +360)\) azimuth of source with respect to head in degrees
database Type of database (see below)

Output parameters

hrtf the requested HRTF

Description

read_hrtf(elev,azim,database) retrieves the HRTF closest to the specified azimuth and elevation from the MIT Kemar (Gardner and Martin, 1995) or Oldenburg Siemens Acuris (Kayser et al., 2009) databases.

The value of the database parameter determines which dataset to access:

'kemar' MIT KEMAR database.
'siemens0' Oldenburg HATS database.
'siemens1' Front microphone from the Siemens Acuris microphones.
'siemens2' As above, but the middle microphone.
'siemens3' As above, but the read microphone.
'cardioid' For a simple cardioid directional microphone constructred from the Siemens Acruris mikes.

References:

W. Gardner and K. Martin. Hrtf measurements of a kemar. J. Acoust. Soc. Am., 97:3907-3908, 1995.

H. Kayser, S. Ewert, J. Anemueller, T. Rohdenburg, V. Hohmann, and B. Kollmeier. Database of multichannel in-ear and behind-the-ear head-related and binaural room impulse responses. EURASIP Journal on Advances in Signal Processing, 2009:6, 2009.