Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using auto for lambda parameters | Chris Robinson | 2023-02-06 | 1 | -1/+1 |
| | |||||
* | Increase the default mhr truncation size to 64 | Chris Robinson | 2023-01-23 | 1 | -1/+1 |
| | | | | To match the default data set. | ||||
* | Replace a couple more pointer+count with a span | Chris Robinson | 2023-01-23 | 1 | -94/+75 |
| | |||||
* | Use a vector of arrays for a multi-dimensional array | Chris Robinson | 2023-01-23 | 1 | -3/+3 |
| | |||||
* | Use a span instead of pointer+count | Chris Robinson | 2023-01-23 | 1 | -13/+13 |
| | |||||
* | Remove a redundant struct member | Chris Robinson | 2023-01-23 | 1 | -26/+24 |
| | |||||
* | Remove some unused members | Chris Robinson | 2023-01-23 | 1 | -2/+0 |
| | |||||
* | Fix closing parenthesis | Chris Robinson | 2023-01-15 | 1 | -1/+1 |
| | |||||
* | clang-tidy cleanups (#800) | Rosen Penev | 2023-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]> | ||||
* | Remove the FFT'd resampler from makemhr | Chris Robinson | 2023-01-11 | 1 | -93/+0 |
| | | | | | Both SOFA and non-SOFA inputs use the polyphase resampler as needed when loading the IRs. | ||||
* | Avoid extraneous temporaries when filling vectors | Chris Robinson | 2022-12-15 | 1 | -0/+2 |
| | |||||
* | Use the existing common FFT functions in makemhr | Chris Robinson | 2022-11-27 | 1 | -82/+3 |
| | |||||
* | Avoid nesting lambdas | Chris Robinson | 2022-10-24 | 1 | -42/+27 |
| | |||||
* | Resample before frequency analysis | Chris Robinson | 2022-05-13 | 1 | -3/+3 |
| | | | | | | | | | | We want to resample before minimum phase reconstruction since that changes the phase relationship of the sampled signal, introducing a slight bit of noise from truncated sampling. It's not clear that the frequency domain resampling method is accurate, so resampling prior to frequency analysis is an alternative to ensure the resulting frequencies are given the proper phase for sampling. This also cleans up some micro allocations in loops. | ||||
* | Avoid allocating for each HRIR reconstruction | Chris Robinson | 2020-08-14 | 1 | -9/+9 |
| | |||||
* | Simplify StrSubst in makemhr | Chris Robinson | 2020-08-13 | 1 | -36/+27 |
| | |||||
* | Improve handling main() with UTF-8 args on Windows | Chris Robinson | 2020-08-12 | 1 | -2/+0 |
| | |||||
* | Apply simulated HRIR occlusion in the frequency domain | Chris Robinson | 2020-06-21 | 1 | -50/+59 |
| | |||||
* | Synthesize missing elevations in the frequency domain | Chris Robinson | 2020-06-21 | 1 | -141/+147 |
| | | | | | | This should help avoid destructive phase interference. The occlusion low-pass filter is still applied in the time domain due to no clear topology (cutoff frequency, slope, bandwidth, etc). | ||||
* | Use multiple threads for magnitude calculations | Chris Robinson | 2020-06-19 | 1 | -14/+34 |
| | | | | Also allow user-declarable thread count. | ||||
* | Avoid blending multiple IRs for the -90 elevation IR | Chris Robinson | 2020-06-19 | 1 | -33/+27 |
| | |||||
* | Add a makemhr option to use the farthest field only | Chris Robinson | 2020-06-17 | 1 | -8/+30 |
| | | | | | All fields are used for equalization, but only the farthest field is resampled, reconstructed, normalized, and written to the mhr. | ||||
* | Resample HRIRs after equalization | Chris Robinson | 2020-06-17 | 1 | -93/+93 |
| | |||||
* | Resample HRTFs in the frequency domain in makemhr | Chris Robinson | 2020-06-17 | 1 | -29/+93 |
| | | | | | | | | | | | | This should produce far better results given it works directly on the frequency response magnitudes prior to phase reconstruction, as it doesn't deal with a linear phase filter on a truncated time-domain response (with the result also getting truncated in both direction). The in-library on-load HRTF resampler still uses the linear filter due to its relative performance and simplicity benefits. It's good enough as a backup, though users with custom HRTFs would benefit from resampling when creating the mhr (adjusting its window size as appropriate/desired). | ||||
* | Update the makemhr utility and default HRTF | Chris Robinson | 2020-02-11 | 1 | -17/+13 |
| | |||||
* | Scale delays when exceeding the max for generated mhr files | Chris Robinson | 2020-02-10 | 1 | -15/+35 |
| | |||||
* | Fix MHR limits | Chris Robinson | 2019-12-11 | 1 | -7/+3 |
| | |||||
* | Simplify a status-checking loop | Chris Robinson | 2019-12-10 | 1 | -7/+6 |
| | |||||
* | Move the polyphase resampler to the common lib | Chris Robinson | 2019-11-28 | 1 | -234/+3 |
| | |||||
* | Fix azimuth limit | Chris Robinson | 2019-10-22 | 1 | -3/+5 |
| | |||||
* | Use istream for makemhr input | Chris Robinson | 2019-09-23 | 1 | -46/+41 |
| | |||||
* | Use our case-insensitive compare functions in makemhr | Chris Robinson | 2019-09-16 | 1 | -1/+2 |
| | |||||
* | Fix some implicit casts | Chris Robinson | 2019-09-11 | 1 | -26/+25 |
| | |||||
* | Clean up some more headers | Chris Robinson | 2019-07-28 | 1 | -23/+18 |
| | |||||
* | Properly include getopt.h | Chris Robinson | 2019-07-14 | 1 | -1/+1 |
| | |||||
* | Simplify applying the field magnitude factor | Chris Robinson | 2019-03-27 | 1 | -2/+2 |
| | |||||
* | Support loading SOFA files directly with makemhr | Chris Robinson | 2019-03-25 | 1 | -3/+8 |
| | | | | | | | 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 input | Chris Robinson | 2019-03-25 | 1 | -6/+25 |
| | |||||
* | Use only a single function to load the HrirDataT | Chris Robinson | 2019-03-25 | 1 | -18/+11 |
| | |||||
* | Add a command-line option to force mono input with makemhr | Chris Robinson | 2019-03-24 | 1 | -6/+14 |
| | |||||
* | Cleanup some unnecessary parameters | Chris Robinson | 2019-03-24 | 1 | -33/+24 |
| | |||||
* | Move makemhr's .def loading code to a separate source | Chris Robinson | 2019-03-24 | 1 | -2077/+11 |
| | |||||
* | Rename makehrtf to makemhr and move it to a subdirectory | Chris Robinson | 2019-03-24 | 1 | -0/+3855 |