THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.2

View the code

Go to function

DEMO_BAUMGARTNER2013 - Demo for sagittal-plane localization model from Baumgartner et al. (2013)

Description

demo_baumgartner2013(flag) demonstrates how to compute and visualize the baseline prediction (localizing broadband sounds with own ears) for a listener of the listener pool and the median SP using the sagittal-plane localization model from Baumgartner et al. (2013).

demo_baumgartner2013_1.png

Baseline prediction

This demo computes the baseline prediction (localizing broadband sounds with own ears) for an exemplary listener (NH58).

Predicted polar response angle probability of subject NH58 as a function of the polar target angle with probabilities encoded by brigthness.

This code produces the following output:

[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH58_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH58_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH12_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH12_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH46_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH46_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH21_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH21_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH64_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH64_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH71_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH71_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH42_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH42_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH43_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH43_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH22_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH22_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH15_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH15_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH41_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH41_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH68_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH68_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH72_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH72_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH33_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH33_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH55_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH55_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH39_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH39_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
[Warning: File not found: /home/peter/nw/amtoolbox/hrtf/baumgartner2013/ARI_NH62_hrtf_M_dtf 256.sofa]
[> In SOFAload at 47
  In data_baumgartner2013 at 152
  In plotexec at 51]
Downloading /baumgartner2013/ARI_NH62_hrtf_M_dtf 256.sofa from http://www.sofacoustics.org/data/amt
[Warning: SimpleFreeFieldHRIR 0.2 upgraded to 0.3]
[> In SOFAupgradeConventions at 81
  In SOFAload at 91
  In data_baumgartner2013 at 152
  In plotexec at 51]
Quadrant errors (%)             2.5
Local polar RMS error (deg)    21.3
Local polar bias (deg)                  6.1