aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
Commit message (Collapse)AuthorAgeFilesLines
* Update HRTF codeChris Robinson2012-09-111-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 coefficientsChris Robinson2012-08-111-26/+42
|
* Interpolate between HRTF delay samples using the delay fractionChris Robinson2012-07-201-4/+4
|
* Increase the directional change sensitivity for the HRTF deltaChris Robinson2012-07-201-1/+1
|
* Use wrappers for float-typed math functionsChris Robinson2012-06-291-6/+6
|
* Use the correct loop count for reading the elevation offsets from external ↵Chris Robinson2012-03-171-1/+1
| | | | HRTF files
* Don't assume the calculated HRTF delta for the gain difference is less than 1Chris Robinson2012-03-121-2/+3
|
* Add a text file explaining OpenAL Soft's HRTF support and data file formatChris Robinson2012-03-111-15/+0
|
* Don't use a double when calculating the HRTF coefficientsChris Robinson2011-10-021-6/+6
|
* Use inline assembly for fast float-to-int conversionsChris Robinson2011-09-291-17/+17
|
* Look for and use atan2f, log10f, and floorfChris Robinson2011-09-241-3/+3
|
* Silence MSVC warnings in the HRTF codeChris Robinson2011-09-231-3/+3
|
* Use macros for float-typed PI values, to avoid manual casts everywhereChris Robinson2011-09-221-3/+3
|
* Add a ConfigValueStr function, to return the string through a parameterChris Robinson2011-09-191-3/+4
|
* Allow loading multiple HRTF tables through a comma-separated listChris Robinson2011-09-181-22/+41
|
* Dynamically allocate space for HRTF tablesChris Robinson2011-09-181-7/+45
|
* Store the HRTF tables used in the deviceChris Robinson2011-09-181-26/+26
|
* Fix comment on external HRTF file formatChris Robinson2011-09-151-2/+2
|
* Trace compatible HRTF formats when loading instead of on errorChris Robinson2011-09-151-3/+4
|
* Log the function name instead of the source file and line numberChris Robinson2011-09-021-1/+1
|
* Rename minF/maxF/clampF to minf/maxf/clampf for consistencyChris Robinson2011-08-161-4/+4
|
* Use mini/maxi/clampi and minu/maxu/clampu to replace min/max callsChris Robinson2011-08-161-1/+1
|
* Avoid a float->int->float conversionChris Robinson2011-08-161-1/+1
|
* Use inline minF/maxF/clampF functions instead of the __min/__max macrosChris Robinson2011-08-161-8/+6
|
* Round the HRTF sample step countChris Robinson2011-08-111-4/+5
|
* Slightly improve the gain change delta calculationChris Robinson2011-07-191-2/+3
|
* Add a lost commentChris Robinson2011-07-181-1/+2
|
* Fix GetMovingHrtfCoeffs return typeChris Robinson2011-07-171-1/+1
|
* Fade between HRTF coefficients, to reduce noise from sudden changesChris Robinson2011-07-161-2/+138
|
* Warn about HRTF being disabled in the compatibility check functionChris Robinson2011-07-161-0/+3
|
* Improve the external HRTF data file formatChris Robinson2011-07-161-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 structChris Robinson2011-07-151-5/+7
|
* Rename the ERROR macro to ERRChris Robinson2011-07-131-3/+3
|
* Replace some AL_PRINT calls with proper loggingChris Robinson2011-07-101-3/+3
|
* Fix some formattingChris Robinson2011-07-041-2/+2
|
* Implement a lerped lookup of the HRTF coefficients/delaysChris Robinson2011-07-041-20/+82
| | | | Code supplied by Christopher Fitzgerald
* Add a function to check if a device is compatible with the Hrtf filterChris Robinson2011-06-251-0/+8
|
* Fix formatter for size_tChris Robinson2011-06-241-1/+1
|
* Use separate lines for HRTF history and valuesChris Robinson2011-06-171-1/+1
|
* Change HRTF table user input formatChris Robinson2011-06-031-25/+25
|
* Readd the default HRTF filter (based on the diffuse set)Chris Robinson2011-06-031-1/+3
|
* Use a minimum phase HRTF data setChris Robinson2011-06-031-44/+87
| | | | This reduces the coefficient size from 128 down to 32, with a set of delays
* Fix HRTF elevation calculationChris Robinson2011-05-191-4/+4
|
* Properly handle elevations that don't have angles up to 180Chris Robinson2011-05-031-4/+7
|
* Add an HRTF filter for mono sourcesChris Robinson2011-05-011-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.