Software Open Access
In this upload you find all the scripts and data you need in order to reproduce
the figure from the paper Wierstorf et al., "Assessing localization accuracy in
sound field synthesis" .
## Software Requirements
### Sound Field Synthesis Toolbox
From the [Sound Field Synthesis
repository you need to checkout the version *commit 3730bc0*, which is identical
with release 1.0.0. Under Linux this can be done the following way:
$ git clone https://github.com/sfstoolbox/sfs-matlab.git
$ cd sfs-matlab
$ git checkout 3730bc0
$ cd ..
### SOFA (Spatially Oriented Format for Acoustics) Matlab/Octave API
From the [SOFA Matlab/Octave API](https://github.com/sofacoustics/API_MO) git
repository you need to checkout the version *commit 260079a*, which is identical
with release 1.0.1. Under Linux this can be done the following way:
$ git clone https://github.com/sofacoustics/API_MO.git sofa
$ cd sofa
$ git checkout 260079a
$ cd ..
### Two!Ears Auditory Front-end
Form the [Two!Ears Auditory
Front-end](https://github.com/TWOEARS/auditory-front-end) git repository you
need to checkout the version *commit ce47b54*, which is identical with the
release 1.0. Under Linux this can be done the following way:
$ git clone https://github.com/TWOEARS/auditory-front-end.git
$ cd auditory-front-end
$ git checkout ce47b54
$ cd ..
## Reproduce data
After downloading all needed packages start Matlab. Then we have to initialize
all the toolboxes. This can be done by running the following commands from the
`sfs/` and `amtoolbox/` directory, respectively.
>> cd sfs-matlab
>> cd ../sofa/API_MO
>> cd ../../auditory-front-end
>> cd ..
Now everything is prepared and you can recreate the data from the numerical
simulation in Fig.1 and the ITD estimation by the binaural model in Fig.6:
>> cd fig01
>> cd ../fig06
## Reproduce figures
All figures were plotted using gnuplot 5.0. Every figure folder has an
``figXX.plt`` file that you can execute and you will get the resulting pdf file.
Only Fig. 2 is generated via tikz and you have to compile the ``fig02.tex`` file
 H. Wierstorf, A. Raake, S. Spors, "Assessing localization accuracy in sound
field synthesis," J. Acoust. Soc. Am., 141, p. 1111-1119 (2017), doi:10.1121/1.4976061.