From dcfa27b30398f0bca34ae03c006392fb34cbdcd2 Mon Sep 17 00:00:00 2001 From: 3DJ <71472458+ThreeDeeJay@users.noreply.github.com> Date: Fri, 16 Jul 2021 03:40:43 -0400 Subject: [PATCH] SOFA/DEF to MHR now generate 96000hz files --- README.md | 4 ++-- [OpenAL Soft] DEF to MHR.bat | 6 +++--- [OpenAL Soft] SOFA to MHR.bat | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 76276e2..db507e7 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,11 @@ Note: These scripts are intended for the listed HRIRs since it generates a templ # DEF to MHR Converts Definition files (.DEF) into .MHR files compatible with OpenAL Soft or X3DAudio HRTF, depending on the script. -- For OpenAL Soft, it generates 44100hz and 48000hz .MHR files. +- For OpenAL Soft, it generates 44100hz, 48000hz and 96000hz .MHR files. - For X3DAudio HRTF, it generates 32000hz, 44100hz, 48000hz and a 96000hz .MHR files. # SOFA to MHR -Converts all the .SOFA files in the script folder to OpenAL Soft .MHR files (44100hz and 48000hz) +Converts all the .SOFA files in the script folder to OpenAL Soft .MHR files (44100hz, 48000hz and 96000hz) # SOFA to WAV Converts all the .SOFA files in the script folder to HeSuVi .WAV files files (44100hz and 48000hz) and opens the output/ and hrir/ folders for easy drag and drop installation. diff --git a/[OpenAL Soft] DEF to MHR.bat b/[OpenAL Soft] DEF to MHR.bat index a9277ae..e8f213d 100644 --- a/[OpenAL Soft] DEF to MHR.bat +++ b/[OpenAL Soft] DEF to MHR.bat @@ -26,9 +26,9 @@ if exist *.def ( echo Generating "!HRIRFolderID2!-48000.mhr" Resources\makemhr.exe -r 48000 -d sphere -i "%%i" -o "Output\!HRIRFolderID2!\!HRIRFolderID2!-48000.mhr" echo. - - - + echo Generating "!HRIRFolderID2!-96000.mhr" + Resources\makemhr.exe -r 96000 -d sphere -i "%%i" -o "Output\!HRIRFolderID2!\!HRIRFolderID2!-96000.mhr" + echo. ) diff --git a/[OpenAL Soft] SOFA to MHR.bat b/[OpenAL Soft] SOFA to MHR.bat index d13d500..dfab49f 100644 --- a/[OpenAL Soft] SOFA to MHR.bat +++ b/[OpenAL Soft] SOFA to MHR.bat @@ -26,9 +26,9 @@ if exist *.sofa ( echo Generating "!HRIRFolderID2!-48000.mhr" Resources\makemhr.exe -r 48000 -d sphere -i "%%i" -o "Output\!HRIRFolderID2!\!HRIRFolderID2!-48000.mhr" echo. - - - + echo Generating "!HRIRFolderID2!-96000.mhr" + Resources\makemhr.exe -r 96000 -d sphere -i "%%i" -o "Output\!HRIRFolderID2!\!HRIRFolderID2!-96000.mhr" + echo. )