Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert hrtf.c to C++ | Chris Robinson | 2018-11-09 | 1 | -1465/+0 |
| | |||||
* | Replace restrict with RESTRICT | Chris Robinson | 2018-10-29 | 1 | -4/+4 |
| | |||||
* | Don't hardcode the max channels for HRTF B-Format decoding | Chris Robinson | 2018-05-26 | 1 | -1/+5 |
| | |||||
* | Undefine the correct macros | Chris Robinson | 2018-05-15 | 1 | -2/+2 |
| | |||||
* | Use fastf2i instead of manually rounding with float2int | Chris Robinson | 2018-05-12 | 1 | -4/+4 |
| | |||||
* | Simplify calculating the HRTF B-Format IR length | Chris Robinson | 2018-05-04 | 1 | -19/+19 |
| | |||||
* | Add a specific function for truncating float-to-int conversions | Chris Robinson | 2018-05-03 | 1 | -11/+9 |
| | |||||
* | Remove some unnecessary floor calls | Chris Robinson | 2018-04-28 | 1 | -4/+2 |
| | |||||
* | Increase the band-split IR for decoding ambisonics to HRTF | Chris Robinson | 2018-04-27 | 1 | -8/+16 |
| | |||||
* | Move the bnad-splitter filters to a separate source | Chris Robinson | 2018-04-21 | 1 | -1/+1 |
| | |||||
* | Add some more ASSUME statements | Chris Robinson | 2018-04-21 | 1 | -0/+1 |
| | |||||
* | Accumulate the B-Format HRTF responses using doubles | Chris Robinson | 2018-04-17 | 1 | -9/+24 |
| | | | | | The final result is still truncated to single-precision float, but this should keep the responses more stable as it accumulates the various inputs. | ||||
* | Don't minimize the HRTF per-response delay | Chris Robinson | 2018-04-16 | 1 | -9/+5 |
| | | | | | | The reverts both fa9ab9af7cb559ff9ecc1846f2996265bfbea1ec and 79604c3c0e0f3f71832a09348cc273a38882cc3e. As helpful as it was for the high frequencies, the overall response's gain suffered. | ||||
* | Use a proper struct for specifying angular points | Chris Robinson | 2018-02-18 | 1 | -4/+4 |
| | |||||
* | Minimize each response delay for the ambisonic HRTF decode | Chris Robinson | 2018-02-18 | 1 | -5/+9 |
| | |||||
* | Use an alternate virtual layout for Ambisonic HRTF decoding | Chris Robinson | 2018-02-10 | 1 | -5/+12 |
| | | | | | This uses 16 channels, an 8-channel octagon + 8-channel cube, which should improve horizontal resolution without affecting vertical too much. | ||||
* | Assign the HRTF storage pointers separately | Chris Robinson | 2018-01-15 | 1 | -5/+11 |
| | |||||
* | Fix up some types for MSVC | Chris Robinson | 2018-01-11 | 1 | -1/+2 |
| | |||||
* | Move the config function declarations to their own header | Chris Robinson | 2018-01-11 | 1 | -0/+1 |
| | | | | And rename alcConfig.c to alconfig.c for consistency. | ||||
* | Fix some types to make MSVC happy | Chris Robinson | 2017-12-17 | 1 | -5/+5 |
| | |||||
* | Store the HRTF distance in the Hrtf handle | Chris Robinson | 2017-10-23 | 1 | -8/+11 |
| | |||||
* | Update mhr format for 24-bit, multi-field, stereo measurements | Chris Robinson | 2017-10-22 | 1 | -44/+83 |
| | | | | | Currently only single field HRTFs are supported, but the format now allows up to 16. | ||||
* | Check the right size for the in-progress mhr update | Chris Robinson | 2017-08-09 | 1 | -2/+2 |
| | |||||
* | Declare that a couple arrays are aligned | Chris Robinson | 2017-08-09 | 1 | -3/+6 |
| | |||||
* | Add experimental support for 24-bit, dual-ear HRTFs | Chris Robinson | 2017-08-08 | 1 | -3/+230 |
| | | | | | | | Currently makehrtf only handles 24-bit output, not dual-ear, and only when given the --experimental switch. Files produced this way will not be guaranteed future compatibility. When the mhr format is also updated with multi-distance measurements, the experimental switch can go away. | ||||
* | Don't bother returning the IR length for B-Format decoding | Chris Robinson | 2017-07-31 | 1 | -2/+2 |
| | |||||
* | Update makehrtf to use a larger FFT by default | Chris Robinson | 2017-07-25 | 1 | -1/+1 |
| | | | | Also fixes DC offset removal and increases the max IR size. | ||||
* | Use helpers to get data from byte streams | Chris Robinson | 2017-06-16 | 1 | -51/+51 |
| | |||||
* | Round the B-Format HRTF response where the multiple is defined | Chris Robinson | 2017-06-16 | 1 | -1/+3 |
| | |||||
* | Implement cross-platform embedding of HRTF data | alexey.lysiuk | 2017-05-05 | 1 | -69/+8 |
| | |||||
* | Reimplement bilinear interpolation between HRIRs | Chris Robinson | 2017-05-01 | 1 | -25/+82 |
| | | | | | | Some data sets are just too sparse, having noticeably few measurements to properly handle slowly panning sources. Although not perfect, bilinearly interpolating the HRIR measurements improves the positional accuracy. | ||||
* | Fix a mixed-sign-comparison warning on MSVC | Chris Robinson | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | Use a different way to get the size of structs with flexible array members | Chris Robinson | 2017-04-18 | 1 | -2/+2 |
| | |||||
* | Overwrite the old search path with the new one | Chris Robinson | 2017-04-08 | 1 | -1/+1 |
| | |||||
* | Combine a couple loops | Chris Robinson | 2017-04-07 | 1 | -28/+24 |
| | |||||
* | Make sure malloc succeeded for 'delays' | Chris Robinson | 2017-04-07 | 1 | -2/+2 |
| | |||||
* | Store the HRTF coeffs as a stereo pair | Chris Robinson | 2017-04-07 | 1 | -54/+98 |
| | | | | | This will make it easier to handle HRTF data sets that have separate left and right ear responses. Will need an mhr version update to take advantage of that. | ||||
* | Allocate temp storage for delays when loading HRTFs | Chris Robinson | 2017-04-07 | 1 | -8/+11 |
| | |||||
* | Reference count HRTFs and unload them when unused | Chris Robinson | 2017-04-06 | 1 | -5/+44 |
| | |||||
* | Load embedded HRTF entries as-needed | Chris Robinson | 2017-04-06 | 1 | -58/+59 |
| | |||||
* | Fix an incorrect message | Chris Robinson | 2017-04-05 | 1 | -10/+13 |
| | |||||
* | Load HRTF files as needed | Chris Robinson | 2017-04-05 | 1 | -59/+81 |
| | | | | | Currently only applies to external files, rather than embedded datasets. Also, HRTFs aren't unloaded after being loaded, until library shutdown. | ||||
* | Store the loaded hrtf entry container in the enumerated hrtf entry | Chris Robinson | 2017-04-05 | 1 | -40/+34 |
| | |||||
* | Store the HRTF's filename separate from the entry storage | Chris Robinson | 2017-04-05 | 1 | -45/+72 |
| | |||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 1 | -55/+53 |
| | |||||
* | Avoid some unnecessary string reallocation | Chris Robinson | 2017-03-31 | 1 | -51/+50 |
| | |||||
* | Load HRTF coefficients as pre-normalized floats | Chris Robinson | 2017-03-31 | 1 | -38/+47 |
| | |||||
* | Combine some HRTF loading code | Chris Robinson | 2017-03-31 | 1 | -78/+72 |
| | |||||
* | Use the correct types' sizes for HRTF storage | Chris Robinson | 2017-03-31 | 1 | -8/+8 |
| | |||||
* | Rework HRTF coefficient fading | Chris Robinson | 2017-03-11 | 1 | -27/+11 |
| | | | | | | | | | | | | | | | This improves fading between HRIRs as sources pan around. In particular, it improves the issue with individual coefficients having various rounding errors in the stepping values, as well as issues with interpolating delay values. It does this by doing two mixing passes for each source. First using the last coefficients that fade to silence, and then again using the new coefficients that fade from silence. When added together, it creates a linear fade from one to the other. Additionally, the gain is applied separately so the individual coefficients don't step with rounding errors. Although this does increase CPU cost since it's doing two mixes per source, each mix is a bit cheaper now since the stepping is simplified to a single gain value, and the overall quality is improved. |