You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# SOFAlizer for Unity 1.4.2
1
+
# SOFAlizer for Unity 1.5.0
2
2
3
3
SOFAlizer is a SOFA-based audio spatializer for Unity. It is a Unity [native plugin](https://docs.unity3d.com/Manual/NativePlugins.html). It loads sets of spatial filters so-called [HRTFs](https://en.wikipedia.org/wiki/Head-related_transfer_function) stored in [SOFA](https://www.sofaconventions.org/) files and renders spatial audio based on a selected HRTF set. The output is a binaural signal intended to be listened to via headphones.
4
4
@@ -16,16 +16,16 @@ Compile SOFAlizer DLL:
16
16
Start the scene:
17
17
* In Unity start the scene: Assets\SampleScene.unity
* Copy some SOFA files (e.g., from https://www.sofaconventions.org/mediawiki/index.php/Files) to the root directory. Rename them to `hrtfX.sofa` with `X` from 0 to 9.
19
+
* Copy some SOFA files (e.g., from https://www.sofaconventions.org/mediawiki/index.php/Files) to the root directory. Rename them to `hrtfX.sofa` with `X` from 0 to 49.
20
20
* Start the engine by clicking on "Run"
21
21
22
22
Usage:
23
23
------
24
24
On "Run" of the scene, SOFAlizer:
25
-
* Loads SOFA files `hrtfX.sofa` with `X` being from 0 to 9. These files must be located in the root directory of this project. The HRTFs must be stored using the SOFA convention "SimpleFreeFieldHRIR".
25
+
* Loads SOFA files `hrtfX.sofa` with `X` being from 0 to 49. These files must be located in the root directory of this project. The HRTFs must be stored using the SOFA convention "SimpleFreeFieldHRIR".
26
26
* Resamples each HRTF set to the sampling rate provided in Audio --> Project Settings --> Audio --> System Sample Rate. This may take some time (can be avoided by using HRTFs sampled at the same rate as that from the Unity project).
27
27
* Normalizes each HRTF set relative to the HRTF for the frontal position.
28
-
* Crops the HRTFs to the length of 256 samples.
28
+
* Crops the HRTFs to the length of 128 samples.
29
29
* Transforms all impulse responses to the spectral domain for fast convolution in real-time.
30
30
* Creates SOFAlizer.log with the information of the loaded HRTF sets. In order to change the loaded HRTF sets, stop the scene rendering, replace one or more of the SOFA files, and re-run the scene.
31
31
@@ -55,6 +55,11 @@ Acknowledgements:
55
55
History:
56
56
--------
57
57
58
+
Version 1.5.0
59
+
=============
60
+
* Loads up to 50 HRTF sets
61
+
* Debug version shows the information of the loaded HRTF sets only
62
+
58
63
Version 1.4.2
59
64
=============
60
65
* Automatic gain normalization on HRTF-set load re-added (was removed in v1.4.0)
0 commit comments