Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid a potential calloc of 0 | Chris Robinson | 2017-12-17 | 1 | -6/+5 |
| | |||||
* | Update mhr format for 24-bit, multi-field, stereo measurements | Chris Robinson | 2017-10-22 | 1 | -469/+914 |
| | | | | | Currently only single field HRTFs are supported, but the format now allows up to 16. | ||||
* | Avoid using wmain on Windows | Chris Robinson | 2017-08-30 | 1 | -0/+2 |
| | |||||
* | Avoid including AL headers in makehrtf | Chris Robinson | 2017-08-27 | 1 | -7/+17 |
| | |||||
* | Use a common header for Unicode-awareness on Windows | Chris Robinson | 2017-08-27 | 1 | -80/+2 |
| | |||||
* | Properly check if a pointer is different when cleaning it up | Chris Robinson | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | Fix -l switch | Chris Robinson | 2017-08-20 | 1 | -1/+1 |
| | |||||
* | Clarify argument errors in makehrtf | Chris Robinson | 2017-08-20 | 1 | -8/+8 |
| | |||||
* | Ensure the arglist is properly terminated | Chris Robinson | 2017-08-20 | 1 | -3/+2 |
| | |||||
* | Print the input and output filenames in makehrtf | Chris Robinson | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | Remove the -m command from makehrtf | Chris Robinson | 2017-08-20 | 1 | -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 makehrtf | Chris Robinson | 2017-08-20 | 1 | -72/+89 |
| | |||||
* | Improve unicode handling for makehrtf | Chris Robinson | 2017-08-20 | 1 | -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 scalar | Chris Robinson | 2017-08-18 | 1 | -16/+12 |
| | |||||
* | Show progress when processing HRTFs | Chris Robinson | 2017-08-18 | 1 | -2/+28 |
| | |||||
* | Use a proper complex number types in makehrtf | Chris Robinson | 2017-08-18 | 1 | -112/+114 |
| | |||||
* | "Unfix" the filter length calculation | Chris Robinson | 2017-08-18 | 1 | -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 size | Chris Robinson | 2017-08-17 | 1 | -3/+4 |
| | |||||
* | Add experimental support for 24-bit, dual-ear HRTFs | Chris Robinson | 2017-08-08 | 1 | -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 dither | Chris Robinson | 2017-08-01 | 1 | -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 default | Chris Robinson | 2017-07-25 | 1 | -74/+60 |
| | | | | Also fixes DC offset removal and increases the max IR size. | ||||
* | Resample HRIRs prior to minimum phase reconstruction | Chris Robinson | 2017-06-01 | 1 | -36/+41 |
| | |||||
* | Reorganize makehrtf's File I/O functions | Chris Robinson | 2016-02-19 | 1 | -92/+109 |
| | |||||
* | Reorganize and reformat makehrtf code | Chris Robinson | 2016-02-18 | 1 | -1795/+2075 |
| | |||||
* | Cleanup makehrtf type definitions | Chris Robinson | 2016-02-18 | 1 | -85/+70 |
| | |||||
* | Fix default makehrtf output name | Chris Robinson | 2016-02-18 | 1 | -139/+169 |
| | | | | And clean up the parameter processing. | ||||
* | Remove the --make-tab option from makehrtf | Chris Robinson | 2015-09-29 | 1 | -93/+1 |
| | | | | We haven't used a built-in HRTF table for a while now. | ||||
* | Fix typo (overriden -> overridden) | Chris Robinson | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Avoid an undefined allocation of 0 bytes | Chris Robinson | 2014-07-01 | 1 | -1/+2 |
| | |||||
* | Include strings.h if it exists for strncasecmp | Chris Robinson | 2014-05-22 | 1 | -1/+3 |
| | |||||
* | Early-out when outN is 0 | Chris Robinson | 2014-05-15 | 1 | -0/+3 |
| | |||||
* | Remove some unnecessary casts | Chris Robinson | 2014-05-15 | 1 | -12/+13 |
| | |||||
* | Append the number of bits, not bytes, to types | Chris Robinson | 2014-05-08 | 1 | -37/+27 |
| | | | | Also use ALuint64SOFT from alext.h for uint64 | ||||
* | Add an option to make HRTFs with a custom head radius | Chris Robinson | 2014-01-11 | 1 | -9/+23 |
| | |||||
* | Fixed compile error in Visual Studio 2013 by not redefining symbols that are ↵ | Rupert Steel | 2014-01-09 | 1 | -2/+2 |
| | | | | now defined in the VS2013 math.h file. | ||||
* | Add an option to use the HRTF time delay measured from the dataset | Chris Robinson | 2013-12-18 | 1 | -13/+82 |
| | |||||
* | Fix a comment describing the sinc function | Chris Robinson | 2012-11-18 | 1 | -1/+1 |
| | |||||
* | Fix off-by-one error in the makehrtf dither and add a resample option | Chris Robinson | 2012-11-18 | 1 | -128/+389 |
| | | | | Also fixes some size_t type warnings | ||||
* | Fix some types | Chris Robinson | 2012-10-25 | 1 | -5/+6 |
| | |||||
* | Properly scale the HRTF delays when writing them | Chris Robinson | 2012-09-12 | 1 | -3/+2 |
| | |||||
* | Use the correct size for defaultCoeffs | Chris Robinson | 2012-09-11 | 1 | -1/+1 |
| | |||||
* | Use HUGE_VAL instead of dividing by 0 for infinity, where possible | Chris Robinson | 2012-09-11 | 1 | -4/+8 |
| | |||||
* | Silence a couple MSVC warnings | Chris Robinson | 2012-09-11 | 1 | -2/+2 |
| | |||||
* | Update HRTF code | Chris Robinson | 2012-09-11 | 1 | -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 MSVC | Chris Robinson | 2012-03-27 | 1 | -0/+9 |
| | |||||
* | Make sure M_PI is defined for makehrtf | Chris Robinson | 2012-03-27 | 1 | -0/+4 |
| | |||||
* | Avoid DOS-style line-endings and stdint types for the makehrtf utility | Chris Robinson | 2012-03-25 | 1 | -739/+740 |
| | |||||
* | Add a utility to generate OpenAL Soft's HRTF data from the MIT KEMAR data | Chris Robinson | 2012-03-22 | 1 | -0/+739 |