Skip to content

Commit

Permalink
SOFA/DEF to MHR now generate 96000hz files
Browse files Browse the repository at this point in the history
  • Loading branch information
ThreeDeeJay committed Jul 16, 2021
1 parent a00510a commit dcfa27b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions [OpenAL Soft] DEF to MHR.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.

)

Expand Down
6 changes: 3 additions & 3 deletions [OpenAL Soft] SOFA to MHR.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.

)

Expand Down

0 comments on commit dcfa27b

Please sign in to comment.