Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't pass null to fprintf | Chris Robinson | 2022-10-10 | 1 | -2/+2 |
| | |||||
* | Handle the delays specified in SOFA files | Chris Robinson | 2022-10-10 | 1 | -44/+55 |
| | |||||
* | Resample before frequency analysis | Chris Robinson | 2022-05-13 | 1 | -9/+33 |
| | | | | | | | | | | 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. | ||||
* | Add missing include | Chris Robinson | 2021-02-16 | 1 | -0/+1 |
| | |||||
* | Use multiple threads for magnitude calculations | Chris Robinson | 2020-06-19 | 1 | -30/+71 |
| | | | | Also allow user-declarable thread count. | ||||
* | Calculate the HRIR onsets and magnitudes separately from loading | Chris Robinson | 2020-06-17 | 1 | -21/+82 |
| | | | | | This should help improve memory use a bit since the SOFA file can be unloaded before allocating some temp buffers for onset detection and FFT calculation. | ||||
* | Avoid reinitializing the resampler with each HRIR | Chris Robinson | 2020-06-17 | 1 | -10/+11 |
| | |||||
* | Use the peak IR magnitude to get the onset | Chris Robinson | 2020-01-25 | 1 | -7/+3 |
| | | | | | | | | | | | | 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. | ||||
* | Move duplicate SOFA-related functions to a reusable library | Chris Robinson | 2019-12-11 | 1 | -244/+16 |
| | |||||
* | Simplify a couple assignments | Chris Robinson | 2019-12-09 | 1 | -5/+3 |
| | |||||
* | Simplify a check | Chris Robinson | 2019-12-08 | 1 | -1/+1 |
| | |||||
* | Load SOFA HRIRs in a background thread | Chris Robinson | 2019-12-08 | 1 | -63/+79 |
| | |||||
* | Report the non-uniform elevations in sofa-info | Chris Robinson | 2019-12-08 | 1 | -14/+18 |
| | |||||
* | Report the number of IRs used from SOFA files | Chris Robinson | 2019-12-08 | 1 | -2/+9 |
| | |||||
* | Simplify some parameters | Chris Robinson | 2019-12-08 | 1 | -25/+23 |
| | |||||
* | Improve detection of compatible layouts in SOFA files | Chris Robinson | 2019-12-08 | 1 | -131/+137 |
| | |||||
* | Move the polyphase resampler to the common lib | Chris Robinson | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Limit the number of azimuths and elevations used in SOFA files | Chris Robinson | 2019-10-22 | 1 | -1/+9 |
| | |||||
* | More consistently use doubles in makemhr and loadsofa | Chris Robinson | 2019-10-22 | 1 | -32/+37 |
| | |||||
* | Use istream for makemhr input | Chris Robinson | 2019-09-23 | 1 | -19/+22 |
| | |||||
* | Enable and fix more warnings | Chris Robinson | 2019-09-14 | 1 | -7/+3 |
| | |||||
* | Avoid implicit conversions with the examples and utils | Chris Robinson | 2019-09-12 | 1 | -1/+1 |
| | |||||
* | Avoid C-style casts in C++ | Chris Robinson | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | MSVC doesn't like parenthesized type initialization | Chris Robinson | 2019-07-13 | 1 | -11/+6 |
| | |||||
* | Avoid recreating temporary buffers all the time | Chris Robinson | 2019-03-26 | 1 | -68/+85 |
| | |||||
* | Fix a return type for accumulation | Chris Robinson | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | Require IR dimensions from a SOFA file | Chris Robinson | 2019-03-26 | 1 | -2/+2 |
| | |||||
* | Avoid some explicit loops | Chris Robinson | 2019-03-26 | 1 | -39/+30 |
| | |||||
* | Support loading SOFA files directly with makemhr | Chris Robinson | 2019-03-25 | 1 | -0/+649 |
| | | | | | | | 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. | ||||
* | Move makemhr's .def loading code to a separate source | Chris Robinson | 2019-03-24 | 1 | -0/+4 |
| | |||||
* | Rename makehrtf to makemhr and move it to a subdirectory | Chris Robinson | 2019-03-24 | 1 | -0/+0 |