Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement our own cache for MYSOFA_EASY objects | Chris Robinson | 2023-12-31 | 1 | -14/+39 |
| | | | | | | | This is to both fix the potential issue of libmysofa calling free() on memory we allocated with calloc (which can be an issue if it linked to a different C runtime), and work around the code checker thinking the MYSOFA_EASY object leaks when mysofa_close and mysofa_cache_store are taking ownership of it. | ||||
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 1 | -2/+4 |
| | |||||
* | Fix implicit widening after multiplication | Chris Robinson | 2023-12-23 | 1 | -10/+11 |
| | |||||
* | Fix clang-tidy warnings from the examples and utilities | Chris Robinson | 2023-12-13 | 1 | -74/+79 |
| | |||||
* | Much more clang-tidy cleanup | Chris Robinson | 2023-12-10 | 1 | -199/+186 |
| | |||||
* | Use deduction guides instead of helper functions for spans | Chris Robinson | 2023-05-05 | 1 | -1/+1 |
| | |||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 1 | -3/+2 |
| | |||||
* | Make sure a variable is set before use | Chris Robinson | 2023-01-31 | 1 | -3/+3 |
| | |||||
* | Replace a couple more pointer+count with a span | Chris Robinson | 2023-01-23 | 1 | -22/+22 |
| | |||||
* | Use a vector of arrays for a multi-dimensional array | Chris Robinson | 2023-01-23 | 1 | -4/+6 |
| | |||||
* | Use a span instead of pointer+count | Chris Robinson | 2023-01-23 | 1 | -2/+2 |
| | |||||
* | Remove a redundant struct member | Chris Robinson | 2023-01-23 | 1 | -6/+6 |
| | |||||
* | Resample before frequency analysis | Chris Robinson | 2022-05-13 | 1 | -23/+53 |
| | | | | | | | | | | 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 <cstdarg> | ArthurSonzogni | 2020-04-10 | 1 | -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 | ||||
* | Use the peak IR magnitude to get the onset | Chris Robinson | 2020-01-25 | 1 | -12/+4 |
| | | | | | | | | | | | | 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 the polyphase resampler to the common lib | Chris Robinson | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Use istream for makemhr input | Chris Robinson | 2019-09-23 | 1 | -124/+131 |
| | |||||
* | Use our case-insensitive compare functions in makemhr | Chris Robinson | 2019-09-16 | 1 | -19/+20 |
| | |||||
* | Enable and fix more warnings | Chris Robinson | 2019-09-14 | 1 | -5/+4 |
| | |||||
* | Avoid C-style casts in C++ | Chris Robinson | 2019-09-11 | 1 | -6/+6 |
| | |||||
* | Fix some implicit casts | Chris Robinson | 2019-09-11 | 1 | -8/+8 |
| | |||||
* | Add missing header. | Penguin | 2019-07-14 | 1 | -0/+1 |
| | |||||
* | Add a missing include for varargs | Chris Robinson | 2019-03-26 | 1 | -0/+1 |
| | |||||
* | Detect SOFA files for makemhr input | Chris Robinson | 2019-03-25 | 1 | -4/+11 |
| | |||||
* | Use only a single function to load the HrirDataT | Chris Robinson | 2019-03-25 | 1 | -3/+42 |
| | |||||
* | Add a command-line option to force mono input with makemhr | Chris Robinson | 2019-03-24 | 1 | -1/+6 |
| | |||||
* | Cleanup some unnecessary parameters | Chris Robinson | 2019-03-24 | 1 | -7/+4 |
| | |||||
* | Move makemhr's .def loading code to a separate source | Chris Robinson | 2019-03-24 | 1 | -0/+1976 |
| | |||||
* | Rename makehrtf to makemhr and move it to a subdirectory | Chris Robinson | 2019-03-24 | 1 | -0/+0 |