Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Improve handling main() with UTF-8 args on Windows | Chris Robinson | 2020-08-12 | 3 | -5/+4 | |
| | ||||||
* | Add the jack/connect-ports option to alsoft-config | Chris Robinson | 2020-08-05 | 2 | -1/+20 | |
| | ||||||
* | 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 | 3 | -46/+107 | |
| | | | | Also allow user-declarable thread count. | |||||
* | Avoid blending multiple IRs for the -90 elevation IR | Chris Robinson | 2020-06-19 | 1 | -33/+27 | |
| | ||||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | Avoid reinitializing the resampler with each HRIR | Chris Robinson | 2020-06-17 | 1 | -10/+11 | |
| | ||||||
* | 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). | |||||
* | Print the synthesized elevations' azimuth counts | Chris Robinson | 2020-06-16 | 1 | -2/+4 | |
| | ||||||
* | Print why a sofa file couldn't be opened | Chris Robinson | 2020-05-21 | 1 | -1/+2 | |
| | ||||||
* | Fix installing alsoft-config | Chris Robinson | 2020-04-15 | 1 | -1/+9 | |
| | ||||||
* | Combine utility target installs | Chris Robinson | 2020-04-14 | 1 | -7/+0 | |
| | ||||||
* | Add missing <cstdarg> | ArthurSonzogni | 2020-04-10 | 2 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Require Qt5 for alsoft-config | Chris Robinson | 2020-04-05 | 1 | -49/+17 | |
| | ||||||
* | 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 | |
| | ||||||
* | Use the peak IR magnitude to get the onset | Chris Robinson | 2020-01-25 | 2 | -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 limits | Chris Robinson | 2019-12-11 | 1 | -7/+3 | |
| | ||||||
* | Move duplicate SOFA-related functions to a reusable library | Chris Robinson | 2019-12-11 | 4 | -510/+342 | |
| | ||||||
* | Simplify a status-checking loop | Chris Robinson | 2019-12-10 | 1 | -7/+6 | |
| | ||||||
* | Simplify a couple assignments | Chris Robinson | 2019-12-09 | 2 | -10/+6 | |
| | ||||||
* | Simplify a check | Chris Robinson | 2019-12-08 | 2 | -2/+2 | |
| | ||||||
* | 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 | 2 | -29/+46 | |
| | ||||||
* | 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 | 2 | -59/+49 | |
| | ||||||
* | Improve detection of compatible layouts in SOFA files | Chris Robinson | 2019-12-08 | 2 | -255/+279 | |
| | ||||||
* | Update built-in HRTF name for alsoft-config | Chris Robinson | 2019-11-29 | 1 | -2/+1 | |
| | ||||||
* | Move the polyphase resampler to the common lib | Chris Robinson | 2019-11-28 | 4 | -250/+11 | |
| | ||||||
* | Properly get the AppData path on Windows in alsoft-config | Chris Robinson | 2019-11-20 | 1 | -2/+21 | |
| | ||||||
* | Limit HRTF ambisonic decoding to second-order | Chris Robinson | 2019-11-09 | 1 | -5/+7 | |
| | | | | | | The generated third-order matrix has incorrect first-order coefficients, indicating a wonky decoder. The generated second-order matrix looks more stable. | |||||
* | Adjust padding in alsoft-config and remove an invalid signal | Chris Robinson | 2019-10-27 | 1 | -76/+55 | |
| | ||||||
* | Limit the number of azimuths and elevations used in SOFA files | Chris Robinson | 2019-10-22 | 2 | -2/+18 | |
| | ||||||
* | Fix azimuth limit | Chris Robinson | 2019-10-22 | 2 | -4/+9 | |
| | ||||||
* | More consistently use doubles in makemhr and loadsofa | Chris Robinson | 2019-10-22 | 2 | -65/+75 | |
| | ||||||
* | Increase the max elevation and azimuth count for HRTFs | Chris Robinson | 2019-10-21 | 1 | -3/+3 | |
| | ||||||
* | Add "fast" variants for the bsinc resamplers | Chris Robinson | 2019-09-28 | 1 | -0/+2 | |
| | | | | | | This simply omits the scale factor from the filter, similar to how up-sampling does. The consequence of this is less smooth transitions when ramping the pitch while down-sampling, but otherwise behaves fine. | |||||
* | Use istream for makemhr input | Chris Robinson | 2019-09-23 | 4 | -192/+198 | |
| | ||||||
* | Use a unique_ptr to auto-free MYSOFA_HRTF | Chris Robinson | 2019-09-23 | 1 | -47/+32 | |
| | ||||||
* | Enable and fix some more warnings | Chris Robinson | 2019-09-18 | 1 | -2/+2 | |
| | ||||||
* | Use our case-insensitive compare functions in makemhr | Chris Robinson | 2019-09-16 | 2 | -20/+22 | |
| | ||||||
* | Fix a few more GCC warnings | Chris Robinson | 2019-09-14 | 1 | -1/+1 | |
| | ||||||
* | Enable and fix more warnings | Chris Robinson | 2019-09-14 | 3 | -19/+10 | |
| | ||||||
* | Avoid implicit conversions with the examples and utils | Chris Robinson | 2019-09-12 | 2 | -2/+2 | |
| | ||||||
* | Avoid C-style casts in C++ | Chris Robinson | 2019-09-11 | 3 | -8/+8 | |
| | ||||||
* | Fix some implicit casts | Chris Robinson | 2019-09-11 | 3 | -35/+34 | |
| | ||||||
* | Make hq-mode the default and update ambisonics.txt | Chris Robinson | 2019-09-08 | 1 | -2/+2 | |
| |