aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add bsinc24 to alsoft-configChris Robinson2017-08-271-1/+5
|
* Add a higher quality bsinc resampler using 24 sample pointsChris Robinson2017-08-271-4/+7
| | | | | | | This improves the transition width, allowing more of the higher frequencies remain audible. It would be preferrable to have an upper limit of 32 points instead of 48, to reduce the overall table size and the CPU cost for down- sampling.
* Properly open the output file for writingChris Robinson2017-08-271-1/+1
|
* Avoid including AL headers in makehrtfChris Robinson2017-08-271-7/+17
|
* Use a common header for Unicode-awareness on WindowsChris Robinson2017-08-272-159/+3
|
* Allow specifying the output filename with bsincgenChris Robinson2017-08-261-31/+140
|
* Rename the bsinc resampler to bsinc12Chris Robinson2017-08-251-46/+48
|
* Parameterize the filter order and rejection in bsincgenChris Robinson2017-08-231-28/+29
|
* Parameterize the bsinc table nameChris Robinson2017-08-221-8/+9
|
* Properly postfix the filter order numberChris Robinson2017-08-211-2/+6
|
* 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-203-72/+252
|
* 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
|
* Simplify bsincgen's Kaiser functionChris Robinson2017-08-181-8/+3
|
* "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.
* Keep bsinc filter quality more consistent between scalesChris Robinson2017-08-171-7/+9
| | | | | | | This generates the filters using the proper size and scale. The 'a' divisor should represent the +/- sample range (and thus be a whole number), with the number of sample points being double that. Increasing the filter size to a multiple of 4 (for SIMD) can be done by padding in 0s afterward.
* Workaround Android not having log2Chris Robinson2017-08-171-0/+4
|
* Properly calculate the filter sizeChris Robinson2017-08-171-3/+4
|
* Correct the bsinc filter orderChris Robinson2017-08-171-6/+7
| | | | | | Despite the claim that it was an 11th order filter, the transition width was generated by specifying 12th order. A 12th order filter would need 14 sample points rather than the 12 it had.
* Make the sinc4 table staticChris Robinson2017-08-161-1/+1
|
* Make the bsinc table layout more efficientChris Robinson2017-08-161-99/+20
| | | | | | | | | | | | | | | | The old layout separated filters, scale deltas, phase deltas, and scale phase deltas into separate segments that each contained a numbers of scale and phase entries, Since processing a sample needed a filter and one of each delta entry relating to a particular scale and phase, the memory needed would be spread across the whole table. And since subsequent samples would use a different phase, it would jump around the table a whole lot as well. The new layout packs the data in a way more consistent with its use. The filters, scale deltas, phase deltas, and scale phase deltas are interleaved, such that for a particular scale and phase, the filter and delta entries used are contiguous. And the phase entries for a particular scale are kept together, so the ~500 to ~1000 samples processed per source update stay within the same 3KB to 6KB area of the 70+KB table, which is much more cache friendly.
* Keep bsinc info together in a structChris Robinson2017-08-151-37/+61
|
* 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
|
* Add a dithering option to alsoft-configChris Robinson2017-05-232-0/+37
|
* Include the Built-In HRTF names in alsoft-config when enabledChris Robinson2017-05-051-0/+5
|
* Move native-tools to the root directoryChris Robinson2017-05-052-108/+0
|
* Make the generated data array static constChris Robinson2017-05-051-1/+1
|
* Implement cross-platform embedding of HRTF dataalexey.lysiuk2017-05-052-0/+108
|
* Print available resamplers in openal-infoChris Robinson2017-05-031-0/+33
|
* Document the output-limiter config optionChris Robinson2017-04-262-4/+41
| | | | Expose it in alsoft-config as well.
* Pre-compute the sinc4 resampler coefficient tableChris Robinson2017-04-081-1/+39
|
* Properly update the resampler label in the UIChris Robinson2017-03-241-1/+3
|
* Fix the height of some GUI widgetsChris Robinson2017-03-121-27/+21
|
* Use a spinbox for the nfc-ref-delay valueChris Robinson2017-03-123-72/+19
|
* Use QString's arg method to format the float valueChris Robinson2017-03-121-4/+3
|
* Handle the nfc-ref-delay config optionChris Robinson2017-03-123-1/+121
|
* Document the nfc config option and expose it in alsoft-configChris Robinson2017-03-122-1/+36
|
* Stretch out some GUI elements for the decoder configurationsChris Robinson2017-03-011-12/+12
|
* Rename stereo-panning option to stereo-encodingChris Robinson2017-02-222-19/+21
| | | | Also rename the 'paired' value to 'panpot', and make it the default.