Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore a comment that was accidentally deleted | Chris Robinson | 2016-10-10 | 1 | -0/+9 |
| | |||||
* | Don't interpolate between nearest HRIRs | Chris Robinson | 2016-10-09 | 3 | -80/+43 |
| | | | | | | | | It still fades between HRIRs when it changes, but now it selects the nearest one instead of blending the nearest four. Due to the minimum-phase nature of the HRIRs, interpolating between delays lead to some oddities which are exasperated by the fading (and the fading is needed to avoid clicks and pops, and smooth out changes). | ||||
* | Better sort the main delay line taps | Chris Robinson | 2016-10-06 | 1 | -60/+39 |
| | |||||
* | Decorrelate the early reflection inputs | Chris Robinson | 2016-10-06 | 1 | -10/+19 |
| | |||||
* | Add some more 'restrict' keywords | Chris Robinson | 2016-10-06 | 7 | -43/+57 |
| | |||||
* | Pass current and target gains directly for mixing | Chris Robinson | 2016-10-05 | 6 | -155/+64 |
| | |||||
* | Update a comment about using row mixers | Chris Robinson | 2016-10-05 | 1 | -3/+1 |
| | |||||
* | Better pack the late reverb low- and all-pass variables | Chris Robinson | 2016-10-05 | 1 | -21/+25 |
| | |||||
* | Use the row mixer functions for the B-to-A-Format conversion | Chris Robinson | 2016-10-04 | 1 | -16/+10 |
| | |||||
* | Make some pointer-to-array parameters const | Chris Robinson | 2016-10-04 | 8 | -45/+53 |
| | |||||
* | Include wtypes.h for defining Windows' property keys | Chris Robinson | 2016-10-04 | 2 | -0/+2 |
| | |||||
* | Enhance reverb using B-Format processing | Chris Robinson | 2016-10-03 | 1 | -405/+386 |
| | | | | | | | | | | | | Technically it uses A-Format processing from the B-Format input and output. But this attempts to provide better spatial definition to the reverberation so that it can be used in a more generic fashion, allowing it to be decoded as any other B-Format signal to whatever output is needed, and also allowing for a bit of height information when the output is capable of such. There may still be some kinks to work out, such as properly decorrelating the early reflection taps and tweaking the late reverb density. But it seems to be a good enough start. | ||||
* | Finalize AL_SOFT_gain_clamp_ex | Chris Robinson | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | Update the ambisonic coefficients for HRTF | Chris Robinson | 2016-09-26 | 1 | -15/+15 |
| | | | | | | | This uses an AllRAD-derived decoder matrix for the high frequencies, which seems to improve positioning response. It also switches back to dual-band. The low frequencies appear to be unexpectedly quiet by comparison, but it's not that bad and can be tweaked later. | ||||
* | Add a volume-adjust config option to adjust the source output volume | Chris Robinson | 2016-09-24 | 2 | -1/+18 |
| | | | | | | | | | Designed for apps that either don't change the listener's AL_GAIN, or don't allow the listener's AL_GAIN to go above 1. This allows the volume to still be increased further than such apps may allow, if users find it too quiet. Be aware that increasing this can easily cause clipping. The gain limit reported by AL_GAIN_LIMIT_SOFT is also affected by this. | ||||
* | Recognize Headset formfactors as headphones | Chris Robinson | 2016-09-21 | 1 | -1/+3 |
| | |||||
* | Fix EAX reverb effect output for HRTF and UHJ | Chris Robinson | 2016-09-13 | 1 | -2/+2 |
| | |||||
* | Call ALfilterState_processC directly | Chris Robinson | 2016-09-12 | 2 | -5/+0 |
| | | | | | | It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance. | ||||
* | Write to the correct outputs for extra reverb channels | Chris Robinson | 2016-09-11 | 1 | -2/+2 |
| | |||||
* | Combine the reverb decorrelator delay line with the main delay line | Chris Robinson | 2016-09-11 | 1 | -46/+26 |
| | | | | | | | Since it was merely acting as an extension of it anyway, with the second delay line tap (for late reverb) copying attenuated samples to the decorrelator line that was being tapped off of. Just extend the delay line and offset the decorrelator taps to be relative to the late reverb tap. | ||||
* | Don't warn if the desired default HRTF is already first | Chris Robinson | 2016-09-10 | 1 | -4/+4 |
| | |||||
* | Reduce the volume for the HRTF ambisonic decoder | Chris Robinson | 2016-09-08 | 1 | -14/+14 |
| | | | | | | | Since it's accumulating multiple HRIRs for two output speakers, it seems to be a better option to preserve the amplitude of the high-frequency decoder instead of increasing it, and reduce the amplitude of the low-frequency decoder to compensate. | ||||
* | Only WARN if GetProcPath fails to find the binary | Chris Robinson | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Properly check if /proc/cpuinfo opened | Chris Robinson | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Use a few more HRIRs for the HRTF B-Format decoder | Chris Robinson | 2016-09-07 | 1 | -19/+31 |
| | | | | | 14 in total, an 8-point cube and a 6-point diamond shape, to help improve sound localization a bit. Incurs no real extra CPU cost once the IRs are built. | ||||
* | Check for run-time NEON support by reading /proc/cpuinfo | Chris Robinson | 2016-09-07 | 1 | -2/+32 |
| | | | | | | Less than ideal since documentations warn it may not list 'neon' even if it's really supported. However, the "proper" APIs to check for NEON extensions don't seem to exist in my toolchain. | ||||
* | Simplify mmdevapi's device name search | Chris Robinson | 2016-09-07 | 1 | -17/+33 |
| | | | | | Avoids converting each enumerated devid from WSTR to UTF-8, and instead just converts the device name from UTF-8 to WSTR once if needed. | ||||
* | Merge pull request #65 from Dmytry/dmytry_github_master | kcat | 2016-09-07 | 2 | -8/+46 |
|\ | | | | | mmdevapi: Allow specifying output device by it's audio endpoint GUID … | ||||
| * | mmdevapi: Allow specifying output device by it's audio endpoint GUID or by ↵ | Dmytry Lavrov | 2016-09-06 | 2 | -8/+46 |
| | | | | | | | | the device id string (Oculus VR api requires you to play back on a specific device). | ||||
* | | Properly align 16-bit fields in the Hrtf struct | Chris Robinson | 2016-09-07 | 1 | -10/+20 |
|/ | |||||
* | Make the SelectMixer function sharable | Chris Robinson | 2016-09-06 | 3 | -26/+12 |
| | |||||
* | Use the optimized mixing functions for reverb output | Chris Robinson | 2016-09-06 | 1 | -83/+117 |
| | |||||
* | Use deinterlaced buffers for the intermediate reverb storage | Chris Robinson | 2016-09-06 | 1 | -119/+137 |
| | |||||
* | Remove use of DECL_CONST | Chris Robinson | 2016-09-06 | 2 | -5/+5 |
| | | | | | No idea if it was really gaining us anything, but removing it fixes a crash I was getting with libs built with Clang. | ||||
* | Do reverb modulation before band-pass filtering | Chris Robinson | 2016-09-06 | 1 | -7/+6 |
| | | | | | | | Ideally the band-pass should probably happen closer to output, like gain is. However, doing that would require 16 filters (4 early + 4 late channels, each with a low-pass and high-pass filter), compared to the two needed to do it on input. | ||||
* | Rename some variables for clarity | Chris Robinson | 2016-09-06 | 1 | -28/+30 |
| | |||||
* | Use more correct cube decoder matrices | Chris Robinson | 2016-09-05 | 2 | -16/+16 |
| | |||||
* | Do multiple samples at once for reverb modulation | Chris Robinson | 2016-09-05 | 1 | -38/+49 |
| | |||||
* | Use a predefined identity matrix | Chris Robinson | 2016-09-05 | 4 | -30/+13 |
| | |||||
* | Correct a comment about B-Format conversion | Chris Robinson | 2016-09-05 | 1 | -1/+1 |
| | |||||
* | Rename MatrixMixerFunc to RowMixerFunc | Chris Robinson | 2016-09-02 | 5 | -11/+11 |
| | |||||
* | Calculate a variable closer to where it's used | Chris Robinson | 2016-09-01 | 1 | -5/+5 |
| | |||||
* | Use MixMatrixRow to upsample the split frequency bands to the output | Chris Robinson | 2016-09-01 | 1 | -30/+12 |
| | |||||
* | Always load HRTF files through memory pointers | Chris Robinson | 2016-08-31 | 1 | -261/+134 |
| | |||||
* | Add some helper wrappers to mmap files | Chris Robinson | 2016-08-31 | 2 | -0/+120 |
| | |||||
* | Add a compile-time macro to use dual-band ambisonic HRTF processing | Chris Robinson | 2016-08-30 | 1 | -12/+36 |
| | | | | | Use single-band processing for now, to see if dual-band is causing a drop in quality at all. | ||||
* | Simplify the ambisonic up-sampler | Chris Robinson | 2016-08-30 | 1 | -65/+99 |
| | | | | | It still behaves the same, although now combines the separate decode+encode matrices into a transcode matrix (one per frequency band). | ||||
* | Remove the upper limit from AL_MIN_GAIN and AL_MAX_GAIN | Chris Robinson | 2016-08-29 | 1 | -2/+2 |
| | | | | As per the current AL_SOFT_gain_clamp_ex proposal. | ||||
* | Add a query for the maximum source gain limit | Chris Robinson | 2016-08-28 | 1 | -0/+1 |
| | |||||
* | Clamp the maximum mixing gain boost to 16 | Chris Robinson | 2016-08-27 | 1 | -10/+11 |
| | | | | | | The combined source and listener gains now can't exceed a multiplier of 16 (~24dB). This is to avoid mixes getting out of control with large volume boosts, which reduces the effective precision given by floating-point. |