aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old unused bsincgen.cChris Robinson2018-11-171-404/+0
|
* Replace restrict with RESTRICTChris Robinson2018-10-291-1/+1
|
* Simplify some statementsFilip Gawin2018-10-291-1/+1
|
* Alsoft-config: Add autowah effectRaulshc2018-07-252-7/+27
|
* Avoid separate in/out parameters when they're always the sameChris Robinson2018-05-291-58/+34
|
* Better sort the effect list in alsoft-configChris Robinson2018-05-261-14/+14
|
* Alsoft-config: Add frequency shifter effectRaulshc2018-05-202-0/+20
|
* Include header files in CMake's source listsChris Robinson2018-04-211-2/+4
|
* Improve ordering of channel processing in makehrtfChris Robinson2018-04-031-55/+58
|
* Fix misspellings of quadraphonicChris Robinson2018-03-302-3/+3
| | | | | AL_LOKI_quadriphonic is left alone since that is what the extension is called and what code expects. All other instances have been fixed for consistency.
* Fix lower elevation synthesis for stereo HRTFsChris Robinson2018-03-291-9/+11
|
* Alsoft-config: Add pitch shifter effectRaulshc2018-03-182-7/+27
|
* Rename the mmdevapi backend to wasapiChris Robinson2018-03-091-2/+11
|
* Fix the return type of the al_fwrite wrapperChris Robinson2018-01-221-1/+1
|
* Remove standard reverb specific processing functionsChris Robinson2018-01-072-31/+5
|
* Replace the sinc4 resampler with cubicChris Robinson2018-01-071-1/+1
| | | | | | | Turns out the C version of the cubic resampler is just slightly faster than even the SSE3 version of the FIR4 resampler. This is likely due to not using a 64KB random-access lookup table along with unaligned loads, both offseting the gains from SSE.
* Avoid a potential calloc of 0Chris Robinson2017-12-171-6/+5
|
* Update mhr format for 24-bit, multi-field, stereo measurementsChris Robinson2017-10-224-2851/+5269
| | | | | 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
|
* Ensure some macros have the correct sizeChris Robinson2017-08-281-1/+4
|
* Rename resampler labelsChris Robinson2017-08-271-3/+3
|
* 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.