aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makehrtf.c
Commit message (Collapse)AuthorAgeFilesLines
* Compile makehrtf as C++Chris Robinson2018-12-311-3455/+0
|
* Replace restrict with RESTRICTChris Robinson2018-10-291-1/+1
|
* Avoid separate in/out parameters when they're always the sameChris Robinson2018-05-291-58/+34
|
* Improve ordering of channel processing in makehrtfChris Robinson2018-04-031-55/+58
|
* Fix lower elevation synthesis for stereo HRTFsChris Robinson2018-03-291-9/+11
|
* Avoid a potential calloc of 0Chris Robinson2017-12-171-6/+5
|
* Update mhr format for 24-bit, multi-field, stereo measurementsChris Robinson2017-10-221-469/+914
| | | | | Currently only single field HRTFs are supported, but the format now allows up to 16.
* Avoid using wmain on WindowsChris Robinson2017-08-301-0/+2
|
* Avoid including AL headers in makehrtfChris Robinson2017-08-271-7/+17
|
* Use a common header for Unicode-awareness on WindowsChris Robinson2017-08-271-80/+2
|
* Properly check if a pointer is different when cleaning it upChris Robinson2017-08-201-2/+2
|
* Fix -l switchChris Robinson2017-08-201-1/+1
|
* Clarify argument errors in makehrtfChris Robinson2017-08-201-8/+8
|
* Ensure the arglist is properly terminatedChris Robinson2017-08-201-3/+2
|
* Print the input and output filenames in makehrtfChris Robinson2017-08-201-2/+2
|
* Remove the -m command from makehrtfChris Robinson2017-08-201-44/+15
| | | | | It only ever outputs mhr files, so there's no need to have a command for it. If another output format is ever made, it can be a normal option flag.
* Use getopt to handle options in makehrtfChris Robinson2017-08-201-72/+89
|
* Improve unicode handling for makehrtfChris Robinson2017-08-201-1/+83
| | | | | | | Command line parameters and filenames are now unicode-aware (the .def files should be UTF-8 encoded, if they contain any non-ASCII-7 characters). Unicode characters might not display correctly in the console, but it should process them correctly.
* Add a function to multiply a complex with a scalarChris Robinson2017-08-181-16/+12
|
* Show progress when processing HRTFsChris Robinson2017-08-181-2/+28
|
* Use a proper complex number types in makehrtfChris Robinson2017-08-181-112/+114
|
* "Unfix" the filter length calculationChris Robinson2017-08-181-3/+3
| | | | | | | | Partially reverts 3f3a3ac4f1d069542ca2399a8b5e63d9d1a4df3b. The l*2 + 1 is correct when you want an odd number of sample points, which avoids an unnecessary phase offset in the fitler. However, the rounding is still needed to calculating the left offset (l), or else the transition width can increase with an odd-numbered order.
* Properly calculate the filter sizeChris Robinson2017-08-171-3/+4
|
* Add experimental support for 24-bit, dual-ear HRTFsChris Robinson2017-08-081-8/+42
| | | | | | | 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.
* Replace makehrtf's ditherChris Robinson2017-08-011-14/+22
| | | | | This uses a custom RNG instead of relying on the system-dependent rand(). It also removes the high-pass/noise-shaping, to flatten the noise floor.
* Update makehrtf to use a larger FFT by defaultChris Robinson2017-07-251-74/+60
| | | | Also fixes DC offset removal and increases the max IR size.
* Resample HRIRs prior to minimum phase reconstructionChris Robinson2017-06-011-36/+41
|
* Reorganize makehrtf's File I/O functionsChris Robinson2016-02-191-92/+109
|
* Reorganize and reformat makehrtf codeChris Robinson2016-02-181-1795/+2075
|
* Cleanup makehrtf type definitionsChris Robinson2016-02-181-85/+70
|
* Fix default makehrtf output nameChris Robinson2016-02-181-139/+169
| | | | And clean up the parameter processing.
* Remove the --make-tab option from makehrtfChris Robinson2015-09-291-93/+1
| | | | We haven't used a built-in HRTF table for a while now.
* Fix typo (overriden -> overridden)Chris Robinson2014-07-171-1/+1
|
* Avoid an undefined allocation of 0 bytesChris Robinson2014-07-011-1/+2
|
* Include strings.h if it exists for strncasecmpChris Robinson2014-05-221-1/+3
|
* Early-out when outN is 0Chris Robinson2014-05-151-0/+3
|
* Remove some unnecessary castsChris Robinson2014-05-151-12/+13
|
* Append the number of bits, not bytes, to typesChris Robinson2014-05-081-37/+27
| | | | Also use ALuint64SOFT from alext.h for uint64
* Add an option to make HRTFs with a custom head radiusChris Robinson2014-01-111-9/+23
|
* Fixed compile error in Visual Studio 2013 by not redefining symbols that are ↵Rupert Steel2014-01-091-2/+2
| | | | now defined in the VS2013 math.h file.
* Add an option to use the HRTF time delay measured from the datasetChris Robinson2013-12-181-13/+82
|
* Fix a comment describing the sinc functionChris Robinson2012-11-181-1/+1
|
* Fix off-by-one error in the makehrtf dither and add a resample optionChris Robinson2012-11-181-128/+389
| | | | Also fixes some size_t type warnings
* Fix some typesChris Robinson2012-10-251-5/+6
|
* Properly scale the HRTF delays when writing themChris Robinson2012-09-121-3/+2
|
* Use the correct size for defaultCoeffsChris Robinson2012-09-111-1/+1
|
* Use HUGE_VAL instead of dividing by 0 for infinity, where possibleChris Robinson2012-09-111-4/+8
|
* Silence a couple MSVC warningsChris Robinson2012-09-111-2/+2
|
* Update HRTF codeChris Robinson2012-09-111-527/+2178
| | | | | | | | | | | 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.
* Add a missing round() for MSVCChris Robinson2012-03-271-0/+9
|