Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the BFormat channels to Aux | Chris Robinson | 2016-03-16 | 2 | -24/+24 |
| | |||||
* | Add config options to enable the hq ambisonic decoder | Chris Robinson | 2016-03-16 | 2 | -37/+58 |
| | |||||
* | Properly handle negative matrix values and fix decoder initialization | Chris Robinson | 2016-03-15 | 2 | -2/+2 |
| | |||||
* | Replace the custom layout options with an ambdec loader | Chris Robinson | 2016-03-15 | 1 | -129/+87 |
| | | | | | The ambisonic layout options were never very good for clarity or flexibility. Hopefully using ambdec files will prove to be better. | ||||
* | Rename a couple functions for more informative logging | Chris Robinson | 2016-03-15 | 1 | -9/+10 |
| | |||||
* | Add a dual-band ambisonic decoder | Chris Robinson | 2016-03-15 | 6 | -15/+461 |
| | | | | | | | | | | This uses a virtual B-Format buffer for mixing, and then uses a dual-band decoder for improved positional quality. This currently only works with first- order output since first-order input (from the AL_EXT_BFROMAT extension) would not sound correct when fed through a second- or third-order decoder. This also does not currently implement near-field compensation since near-field rendering effects are not implemented. | ||||
* | Downgrade some ERRs to WARNs or TRACEs | Chris Robinson | 2016-03-15 | 1 | -8/+9 |
| | |||||
* | Always mix to the real output for DirectChannels | Chris Robinson | 2016-03-14 | 1 | -19/+7 |
| | |||||
* | Add a loader for ambdec files | Chris Robinson | 2016-03-14 | 2 | -0/+601 |
| | |||||
* | Use second-order coefficients for 5.1 | Chris Robinson | 2016-03-13 | 1 | -16/+16 |
| | | | | | Since the panning only drives 5 speakers, it shouldn't use more than 5 ambisonic channels (9 total in second order, minus 4 for unused height). | ||||
* | Use the real output's left and right channels with HRTF | Chris Robinson | 2016-03-11 | 4 | -32/+44 |
| | |||||
* | Separate writing to the output buffer from HRTF filtering | Chris Robinson | 2016-03-11 | 1 | -31/+58 |
| | |||||
* | Update the current HRTF delays if the stepping is not finished | Chris Robinson | 2016-03-11 | 1 | -0/+5 |
| | |||||
* | Use the proper left and right channels for UHJ output | Chris Robinson | 2016-03-10 | 3 | -7/+14 |
| | |||||
* | Generalize GetChannelIdxByName | Chris Robinson | 2016-03-10 | 4 | -14/+9 |
| | |||||
* | Allocate enough reverb panning gains | Chris Robinson | 2016-03-10 | 1 | -2/+6 |
| | |||||
* | Keep track of the real output's channel names | Chris Robinson | 2016-03-10 | 3 | -81/+65 |
| | |||||
* | Organize the dry buffer properties into a struct | Chris Robinson | 2016-03-09 | 13 | -137/+150 |
| | |||||
* | Track the virtual and real output buffers ecplicitly | Chris Robinson | 2016-03-09 | 3 | -46/+79 |
| | |||||
* | Fix reverb with UHJ encoding | Chris Robinson | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | Remove the extra scaling on W for UHJ encoding | Chris Robinson | 2016-03-01 | 2 | -10/+28 |
| | | | | | | There seems to be some inconsistent info about whether W should be scaled by sqrt(2) for encoding. Not applying the scaling results in a wider stereo image, which seems more appropriate. | ||||
* | Separate the left and right output writes with UHJ encoding | Chris Robinson | 2016-02-27 | 1 | -9/+12 |
| | |||||
* | Add an option for pair-wise stereo panning | Chris Robinson | 2016-02-26 | 2 | -21/+66 |
| | |||||
* | Use 2-channel UHJ for stereo output | Chris Robinson | 2016-02-26 | 4 | -52/+76 |
| | |||||
* | Add a function to encode 2-channel UHJ from B-Format | Chris Robinson | 2016-02-26 | 2 | -0/+140 |
| | |||||
* | Add and use a copy-range string function | Chris Robinson | 2016-02-24 | 3 | -12/+22 |
| | |||||
* | Exclude the file extension from the HRTF name | Chris Robinson | 2016-02-24 | 1 | -1/+9 |
| | |||||
* | Replace the hrtf_tables option with hrtf-paths | Chris Robinson | 2016-02-23 | 2 | -481/+115 |
| | |||||
* | Remove an unused function | Chris Robinson | 2016-02-23 | 1 | -149/+0 |
| | |||||
* | Allow selecting a preferred HRTF in alsoft-config | Chris Robinson | 2016-02-23 | 1 | -1/+1 |
| | | | | This currently only checks the default paths when they're being used. | ||||
* | Fix when ESTRPIPE and EPIPE are the same | Chris Robinson | 2016-02-22 | 1 | -0/+2 |
| | |||||
* | Avoid enumerating the same HRTF file twice | Chris Robinson | 2016-02-21 | 1 | -41/+40 |
| | |||||
* | Add a config option to specify the preferred HRTF | Chris Robinson | 2016-02-21 | 1 | -0/+19 |
| | |||||
* | Remove an unused declaration | Chris Robinson | 2016-02-20 | 1 | -2/+0 |
| | |||||
* | Include the HRTF filename in the HRTF memory chunk | Chris Robinson | 2016-02-20 | 2 | -26/+25 |
| | |||||
* | Use an 8-channel cube for HRTF's virtual format. | Chris Robinson | 2016-02-20 | 4 | -122/+46 |
| | | | | | | There were phase issues caused by applying HRTF directly to the B-Format channels, since the HRIR delays were all averaged which removed the inter-aural time-delay, which in turn removed significant spatial information. | ||||
* | Allocate each HRTF as a single chunk | Chris Robinson | 2016-02-16 | 1 | -21/+39 |
| | |||||
* | Remove a dead assignment | Chris Robinson | 2016-02-16 | 1 | -1/+0 |
| | |||||
* | Only calculate steps for the used coefficients | Chris Robinson | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Calculate HRTF stepping params right before mixing | Chris Robinson | 2016-02-14 | 9 | -294/+88 |
| | | | | | This means we track the current params and the target params, rather than the target params and the stepping. This closer matches the non-HRTF mixers. | ||||
* | Calculate channel gain stepping just before mixing | Chris Robinson | 2016-02-14 | 3 | -240/+149 |
| | |||||
* | Don't pass the channel count to GetBFormatHrtfCoeffs | Chris Robinson | 2016-02-09 | 3 | -8/+6 |
| | | | | Since it's hard-coded anyway, there's no need to specify it. | ||||
* | Replace some CreateEvent calls with CreateEventW | Chris Robinson | 2016-02-07 | 2 | -7/+7 |
| | |||||
* | Add special HRTF handling for reverb | Chris Robinson | 2016-02-06 | 1 | -1/+77 |
| | | | | | | | This is pretty hacky. Since HRTF normally renders to B-Format with two "extra" channels for the real stereo output, the panning interpolates between a panned reverb channel on B-Format, and two non-panned reverb channels on stereo output, given the panning vector length. | ||||
* | Only apply the +3dB reverb gain boost to the ambient response. | Chris Robinson | 2016-02-06 | 1 | -2/+1 |
| | |||||
* | Avoid an extra sample of delay in the reverb modulator | Chris Robinson | 2016-02-05 | 1 | -4/+6 |
| | |||||
* | Remove an unnecessary variable and move duplicate code to a common spot | Chris Robinson | 2016-02-05 | 1 | -37/+23 |
| | |||||
* | Don't explicitly check for LFE | Chris Robinson | 2016-02-05 | 1 | -16/+0 |
| | | | | It's going to be set to 0 gain anyway | ||||
* | Boost the direct-pan reverb to better match the expected volume | Chris Robinson | 2016-02-05 | 1 | -0/+2 |
| | | | | | Hopefully. Would be nice to have a reference implementation for this style of reverb to compare with. | ||||
* | Update a couple outdated comments | Chris Robinson | 2016-02-05 | 1 | -3/+1 |
| |