Throughout last 30 years, numerous head-related transfer function (HRTF) models have been developed and there are more to come. This paper describes a framework based on objective-oriented programming paradigm, in which each HRTF representation method can be implemented as a separate class. Its modular structure allows the source code to be conveniently shared between researchers, while common interface provides easy access to data regardless of the internal structure of the classes. The paper discusses difficulties of designing the framework, maintaining the balance between its flexibility and finding common features of every possible directivity representation. Exemplary use cases are included and explained. Adoption of the framework will enhance possibilities of accuracy comparison between various HRTF models, thus improving the evaluation of current and future representation methods. The framework, developed in the form of a MATLAB toolbox, is designed to handle not only HRTFs but also other types of spatial data, such as e.g. sound source directivity, microphone directivity, etc.
翻译:在过去30年中,发展了无数与头有关的转移功能模式,今后还会有更多的变化。本文件描述了一个基于目标导向的方案拟订模式的框架,其中每个HRTF代表方法可以作为一个单独的类别实施,其模块结构使研究人员能够方便地分享源代码,而共同界面可以方便地获取数据,而不论各个类别内部结构如何。文件讨论了框架设计方面的困难,在灵活性和寻找每一种可能的直接代表的共同特征之间保持平衡。文件包括并解释了各种实例使用案例。采用该框架将提高各种HRTF模式之间准确性比较的可能性,从而改进对当前和今后代表方法的评价。以MATLAB工具箱的形式开发的框架不仅旨在处理HRTF,而且旨在处理其他类型的空间数据,例如:良好的源直接性、麦克风直接性等。