THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.8

View the code

Go to function

DATA_ZIEGELWANGER2014 - Data from Ziegelwanger and Majdak (2014)

Usage

data = data_ziegelwanger2014(flag)

data_ziegelwanger2014(flag) returns results for different HRTF databases from Ziegelwanger and Majdak (2014).

The flag may be one of:

'ARI' ARI database. The output has the following fields: data.results and data.subjects.
'CIPIC' CIPIC database. The output has the following fields: data.results and data.subjects.
'LISTEN' LISTEN database. The output has the following fields. data.results and data.subjects.
'SPHERE_ROT' HRTF sets for a rigid sphere placed in the center of the measurement setup and varying rotation. The output has the following fields: data.results, data.subjects, data.phi, data.theta and data.radius.
'SPHERE_DIS' HRTF sets for a rigid sphere with various positions in the measurement setup. The output has the following fields: data.results, data.subjects, data.xM, data.yM, data.zM and data.radius.
'Sphere' HRTF set for a rigid sphere: The output has the following fields: data.hM, data.meta and data.stimPar.
'SAT' HRTF set for a rigid sphere combined with a neck and a torso: The output has the following fields: data.hM, data.meta and data.stimPar.
'STP' HRTF set for a rigid sphere combined with a neck, a torso and a pinna: The output has the following fields: data.hM,`data.meta` and data.stimPar.
'NH89' HRTF set of listener NH89 of the ARI database: The output has the following fields: data.hM, data.meta and data.stimPar.

The fields are given by:

data.results Results for all HRTF sets

data.subjects IDs for HRTF sets

data.phi Azimuth of ear position

data.theta Elevation of ear position

data.radius sphere radius

data.xM x-coordinate of sphere center

data.yM y-coordinate of sphere center

data.zM z-coordinate of sphere center

data SOFA object

Requirements:

  1. SOFA API from http://sourceforge.net/projects/sofacoustics for Matlab (in e.g. thirdparty/SOFA)
  2. Optimization Toolbox for Matlab
  3. Data in hrtf/ziegelwanger2014

Examples:

To get results from the ARI database, use:

data=data_ziegelwanger2014('ARI');

References:

H. Ziegelwanger and P. Majdak. Modeling the direction-continuous time-of-arrival in head-related transfer functions. J. Acoust. Soc. Am., 135:1278-1293, 2014.