aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr
Commit message (Collapse)AuthorAgeFilesLines
* Add missing <cstdarg>ArthurSonzogni2020-04-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenAL-Soft fails to compile on some GCC version: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162 It has regressed likely after: https://github.com/kcat/openal-soft/commit/c83609277bed4be4ef40ed306bf2c57fefa19519 va_start is defined in: - <stdarg.h> - <cstdarg> The repository is using it from: - al/error.cpp - al/filter.cpp - alc/alu.cpp - alc/helpers.cpp - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c This patch is adding its definition in the files missing it: - common/alexcpt.cpp - utils/makemhr/loaddef.cpp - utils/openal-info.c Bug: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162
* Update the makemhr utility and default HRTFChris Robinson2020-02-111-17/+13
|
* Scale delays when exceeding the max for generated mhr filesChris Robinson2020-02-101-15/+35
|
* Use the peak IR magnitude to get the onsetChris Robinson2020-01-252-19/+7
| | | | | | | | | | | | While maybe not technically correct, we actually only care about the difference between onsets (any base constant is removed). This should work better since it determines when the IR is most audible, whereas previously it used a variable threshold of when it reached 15% of the max amplitude. An even better method may be to check where the IR amplitude exceeds a fixed threshold (i.e. the same threshold applied to all IRs), but that would need tweaking to find a level that doesn't catch random noise and doesn't potentially miss the more occluded IRs.
* Fix MHR limitsChris Robinson2019-12-111-7/+3
|
* Move duplicate SOFA-related functions to a reusable libraryChris Robinson2019-12-111-244/+16
|
* Simplify a status-checking loopChris Robinson2019-12-101-7/+6
|
* Simplify a couple assignmentsChris Robinson2019-12-091-5/+3
|
* Simplify a checkChris Robinson2019-12-081-1/+1
|
* Load SOFA HRIRs in a background threadChris Robinson2019-12-081-63/+79
|
* Report the non-uniform elevations in sofa-infoChris Robinson2019-12-081-14/+18
|
* Report the number of IRs used from SOFA filesChris Robinson2019-12-081-2/+9
|
* Simplify some parametersChris Robinson2019-12-081-25/+23
|
* Improve detection of compatible layouts in SOFA filesChris Robinson2019-12-081-131/+137
|
* Move the polyphase resampler to the common libChris Robinson2019-11-284-250/+11
|
* Limit the number of azimuths and elevations used in SOFA filesChris Robinson2019-10-221-1/+9
|
* Fix azimuth limitChris Robinson2019-10-222-4/+9
|
* More consistently use doubles in makemhr and loadsofaChris Robinson2019-10-221-32/+37
|
* Increase the max elevation and azimuth count for HRTFsChris Robinson2019-10-211-3/+3
|
* Use istream for makemhr inputChris Robinson2019-09-234-192/+198
|
* Use our case-insensitive compare functions in makemhrChris Robinson2019-09-162-20/+22
|
* Enable and fix more warningsChris Robinson2019-09-142-12/+7
|
* Avoid implicit conversions with the examples and utilsChris Robinson2019-09-121-1/+1
|
* Avoid C-style casts in C++Chris Robinson2019-09-112-7/+7
|
* Fix some implicit castsChris Robinson2019-09-112-34/+33
|
* Clean up some more headersChris Robinson2019-07-281-23/+18
|
* Properly include getopt.hChris Robinson2019-07-141-1/+1
|
* Add missing header.Penguin2019-07-141-0/+1
|
* MSVC doesn't like parenthesized type initializationChris Robinson2019-07-131-11/+6
|
* Simplify applying the field magnitude factorChris Robinson2019-03-271-2/+2
|
* Avoid recreating temporary buffers all the timeChris Robinson2019-03-261-68/+85
|
* Fix a return type for accumulationChris Robinson2019-03-261-1/+1
|
* Require IR dimensions from a SOFA fileChris Robinson2019-03-261-2/+2
|
* Avoid some explicit loopsChris Robinson2019-03-261-39/+30
|
* Add a missing include for varargsChris Robinson2019-03-261-0/+1
|
* Support loading SOFA files directly with makemhrChris Robinson2019-03-254-4/+662
| | | | | | | This extracts the definition info it can from the SOFA, and uses the same logic as sofa-info to automatically detect an appropriate layout. There is a bit of code duplication from loaddef.cpp and sofa-info.cpp, though there are slight modifications.
* Detect SOFA files for makemhr inputChris Robinson2019-03-253-12/+38
|
* Use only a single function to load the HrirDataTChris Robinson2019-03-253-41/+55
|
* Add a command-line option to force mono input with makemhrChris Robinson2019-03-244-8/+26
|
* Cleanup some unnecessary parametersChris Robinson2019-03-244-49/+29
|
* Move makemhr's .def loading code to a separate sourceChris Robinson2019-03-246-2077/+2155
|
* Rename makehrtf to makemhr and move it to a subdirectoryChris Robinson2019-03-245-0/+3855