]> git.tdb.fi Git - ext/openal.git/blob - utils/MIT_KEMAR_sofa.def
Import OpenAL Soft 1.23.1 sources
[ext/openal.git] / utils / MIT_KEMAR_sofa.def
1 # This is a makemhr HRIR definition file.  It is used to define the layout and
2 # source data to be processed into an OpenAL Soft compatible HRTF.
3 #
4 # This definition is used to transform the SOFA packaged KEMAR HRIRs
5 # originally provided by Bill Gardner <billg@media.mit.edu> and Keith Martin
6 # <kdm@media.mit.edu> of MIT Media Laboratory.
7 #
8 # The SOFA conversion is available from:
9 #
10 #  http://sofacoustics.org/data/database/mit/
11 #
12 # The original data is available from:
13 #
14 #  http://sound.media.mit.edu/resources/KEMAR.html
15 #
16 # It is copyrighted 1994 by MIT Media Laboratory, and provided free of charge
17 # with no restrictions on use so long as the authors (above) are cited.
18
19 # Sampling rate of the HRIR data (in hertz).
20 rate     = 44100
21
22 # The SOFA file is stereo, but the original data was mono.  Channels are just
23 # mirrored by azimuth; so save some memory by allowing OpenAL Soft to mirror
24 # them at run time.
25 type     = mono
26
27 points   = 512
28
29 radius   = 0.09
30
31 # The MIT set has only one field with a distance of 1.4m.
32 distance = 1.4
33
34 # The MIT set varies the number of azimuths for each elevation to maintain
35 # an average distance between them.
36 azimuths = 1, 12, 24, 36, 45, 56, 60, 72, 72, 72, 72, 72, 60, 56, 45, 36, 24, 12, 1
37
38 # Normally the dataset would be composed manually by listing all necessary
39 # 'sofa' sources with the appropriate radius, elevation, azimuth (counter-
40 # clockwise for SOFA files) and receiver arguments:
41 #
42 #   [  5,  0 ] = sofa (1.4, -40.0,   0.0 : 0) : "./mit_kemar_normal_pinna.sofa"
43 #   [  5,  1 ] = sofa (1.4, -40.0, 353.6 : 0) : "./mit_kemar_normal_pinna.sofa"
44 #   [  5,  2 ] = sofa (1.4, -40.0, 347.1 : 0) : "./mit_kemar_normal_pinna.sofa"
45 #   [  5,  3 ] = sofa (1.4, -40.0, 340.7 : 0) : "./mit_kemar_normal_pinna.sofa"
46 #   ...
47 #
48 # If HRIR composition isn't necessary, it's easier to just use the following:
49
50 [ * ] = sofa : "./mit_kemar_normal_pinna.sofa" mono
51