Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update HRTF code | Chris Robinson | 2012-09-11 | 1 | -197/+330 |
| | | | | | | | | | | | This update allows for much more flexibility in the HRTF data. It also allows for HRTF table file names to include "%r" to represent the device's playback rate (e.g. if you set hrtf-%r.mhr, then it will try to use hrtf-44100.mhr or hrtf-48000.mhr depending if the device's output rate is 44100 or 48000, respectively). The makehrtf utility has also been updated to support more options and input file formats, as well as the new mhr format. | ||||
* | Use a more efficient method to blend HRTF delays and coefficients | Chris Robinson | 2012-08-11 | 1 | -26/+42 |
| | |||||
* | Interpolate between HRTF delay samples using the delay fraction | Chris Robinson | 2012-07-20 | 1 | -4/+4 |
| | |||||
* | Increase the directional change sensitivity for the HRTF delta | Chris Robinson | 2012-07-20 | 1 | -1/+1 |
| | |||||
* | Use wrappers for float-typed math functions | Chris Robinson | 2012-06-29 | 1 | -6/+6 |
| | |||||
* | Use the correct loop count for reading the elevation offsets from external ↵ | Chris Robinson | 2012-03-17 | 1 | -1/+1 |
| | | | | HRTF files | ||||
* | Don't assume the calculated HRTF delta for the gain difference is less than 1 | Chris Robinson | 2012-03-12 | 1 | -2/+3 |
| | |||||
* | Add a text file explaining OpenAL Soft's HRTF support and data file format | Chris Robinson | 2012-03-11 | 1 | -15/+0 |
| | |||||
* | Don't use a double when calculating the HRTF coefficients | Chris Robinson | 2011-10-02 | 1 | -6/+6 |
| | |||||
* | Use inline assembly for fast float-to-int conversions | Chris Robinson | 2011-09-29 | 1 | -17/+17 |
| | |||||
* | Look for and use atan2f, log10f, and floorf | Chris Robinson | 2011-09-24 | 1 | -3/+3 |
| | |||||
* | Silence MSVC warnings in the HRTF code | Chris Robinson | 2011-09-23 | 1 | -3/+3 |
| | |||||
* | Use macros for float-typed PI values, to avoid manual casts everywhere | Chris Robinson | 2011-09-22 | 1 | -3/+3 |
| | |||||
* | Add a ConfigValueStr function, to return the string through a parameter | Chris Robinson | 2011-09-19 | 1 | -3/+4 |
| | |||||
* | Allow loading multiple HRTF tables through a comma-separated list | Chris Robinson | 2011-09-18 | 1 | -22/+41 |
| | |||||
* | Dynamically allocate space for HRTF tables | Chris Robinson | 2011-09-18 | 1 | -7/+45 |
| | |||||
* | Store the HRTF tables used in the device | Chris Robinson | 2011-09-18 | 1 | -26/+26 |
| | |||||
* | Fix comment on external HRTF file format | Chris Robinson | 2011-09-15 | 1 | -2/+2 |
| | |||||
* | Trace compatible HRTF formats when loading instead of on error | Chris Robinson | 2011-09-15 | 1 | -3/+4 |
| | |||||
* | Log the function name instead of the source file and line number | Chris Robinson | 2011-09-02 | 1 | -1/+1 |
| | |||||
* | Rename minF/maxF/clampF to minf/maxf/clampf for consistency | Chris Robinson | 2011-08-16 | 1 | -4/+4 |
| | |||||
* | Use mini/maxi/clampi and minu/maxu/clampu to replace min/max calls | Chris Robinson | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Avoid a float->int->float conversion | Chris Robinson | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Use inline minF/maxF/clampF functions instead of the __min/__max macros | Chris Robinson | 2011-08-16 | 1 | -8/+6 |
| | |||||
* | Round the HRTF sample step count | Chris Robinson | 2011-08-11 | 1 | -4/+5 |
| | |||||
* | Slightly improve the gain change delta calculation | Chris Robinson | 2011-07-19 | 1 | -2/+3 |
| | |||||
* | Add a lost comment | Chris Robinson | 2011-07-18 | 1 | -1/+2 |
| | |||||
* | Fix GetMovingHrtfCoeffs return type | Chris Robinson | 2011-07-17 | 1 | -1/+1 |
| | |||||
* | Fade between HRTF coefficients, to reduce noise from sudden changes | Chris Robinson | 2011-07-16 | 1 | -2/+138 |
| | |||||
* | Warn about HRTF being disabled in the compatibility check function | Chris Robinson | 2011-07-16 | 1 | -0/+3 |
| | |||||
* | Improve the external HRTF data file format | Chris Robinson | 2011-07-16 | 1 | -30/+107 |
| | | | | | Although more parameters are read from the file, some must currently conform to specific values. In the future, these restrictions may be lifted. | ||||
* | Make the sample rate part of the HRTF struct | Chris Robinson | 2011-07-15 | 1 | -5/+7 |
| | |||||
* | Rename the ERROR macro to ERR | Chris Robinson | 2011-07-13 | 1 | -3/+3 |
| | |||||
* | Replace some AL_PRINT calls with proper logging | Chris Robinson | 2011-07-10 | 1 | -3/+3 |
| | |||||
* | Fix some formatting | Chris Robinson | 2011-07-04 | 1 | -2/+2 |
| | |||||
* | Implement a lerped lookup of the HRTF coefficients/delays | Chris Robinson | 2011-07-04 | 1 | -20/+82 |
| | | | | Code supplied by Christopher Fitzgerald | ||||
* | Add a function to check if a device is compatible with the Hrtf filter | Chris Robinson | 2011-06-25 | 1 | -0/+8 |
| | |||||
* | Fix formatter for size_t | Chris Robinson | 2011-06-24 | 1 | -1/+1 |
| | |||||
* | Use separate lines for HRTF history and values | Chris Robinson | 2011-06-17 | 1 | -1/+1 |
| | |||||
* | Change HRTF table user input format | Chris Robinson | 2011-06-03 | 1 | -25/+25 |
| | |||||
* | Readd the default HRTF filter (based on the diffuse set) | Chris Robinson | 2011-06-03 | 1 | -1/+3 |
| | |||||
* | Use a minimum phase HRTF data set | Chris Robinson | 2011-06-03 | 1 | -44/+87 |
| | | | | This reduces the coefficient size from 128 down to 32, with a set of delays | ||||
* | Fix HRTF elevation calculation | Chris Robinson | 2011-05-19 | 1 | -4/+4 |
| | |||||
* | Properly handle elevations that don't have angles up to 180 | Chris Robinson | 2011-05-03 | 1 | -4/+7 |
| | |||||
* | Add an HRTF filter for mono sources | Chris Robinson | 2011-05-01 | 1 | -0/+75 |
The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active. |