-`generate_crend_ivas_tables` executable shall be in folder [`../../scripts/binauralRenderer_interface`](../../scripts/binauralRenderer_interface)
- On windows this executable requires dll from matlab, you need to add to your path "*/matlab/version/bin/win64"
- On Windows this executable requires DLL from MATLAB, you need to add to your path `*/matlab/version/bin/win64`
- For more details on `generate_crend_ivas_tables` see [`mixer_conv_sofa_to_rom_table_converter_readme.txt`](mixer_conv_sofa_to_rom_table_converter_readme.txt).
- On Apple Silicon Mac with Intel MATLAB, it is necessary to add `SET(CMAKE_OSX_ARCHITECTURES "x86_64")` in the `CMakeLists.txt` near the top of the file. This forces the compilation to use Intel architecture instead ofo the native one.
### Build `tables_format_converter` in `Release` or `RelWithDebugInfo` configuration. `Debug` configuration does not work calling NumPy
- Open a command line terminal
@@ -102,7 +102,7 @@ See [`scripts/ThirdPartyLegalNotices`](../../scripts/ThirdPartyLegalNotices) for
## Usage
- Run the following MATLAB script: [`generate_ivas_binauralizer_tables_from_sofa.m`](generate_ivas_binauralizer_tables_from_sofa.m)
- It will generate ROM files that can be used to compile IVAS decoder or renderer. By default the result is BE.
- It will generate ROM files that can be used to compile IVAS decoder or renderer. By default, the result is BE.
- It will also generate binary files that can be used with `-hrtf` flag in IVAS decoder or renderer command line.
- Using IVAS decoder or renderer with default binary files will generate BE output compare to the same command line without `-hrtf` flag.
- To test different SOFA files input you need to modify the script in the section `%% Set input files`. Other SOFA files are available in [`HRIRs_sofa`](HRIRs_sofa) folder.