Audio plugin for accurate audio spatialization in the near-field developed in Matlab. Based on an Eigen decomposition of HRTFs, the proposed method is capable of reducing a database comprising 6,344 measurements HRIR database proposed by Qu et al.  from 36.30 MB to 2.41MB (about a 15:1 compression ratio). Synthetic HRTFs in the compressed database were set to have less than 1dB spectral distortion between 0.1 and 16 kHz. Including 191 times more points (about million of measurements) by offline interpolation, compression still achieves 20% of compression. The differences between the compressed measurements with those in the original database do not seem to translate into degradation of perceptual location accuracy. The high degree of compression obtained with this method allows the inclusion of interpolated HRTFs in databases for easing the real-time audio spatialization.
To build this plugin, please use the buildPlugin function.
To learn more about how to create this database, please refer to the following paper . The sound field of the database is defined for:
- Distance: from 20 cm to 160 cm
- Elevation: from -40º to 90º (zenit)
- Azimuth: from 0º (front) to 359º (right and left are located at 90º and 270º respectively).
- Pinnae: 2 pinna sizes are defined (small and large).