Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce the amount of variables that hold the same value | Chris Robinson | 2017-05-21 | 2 | -10/+8 |
| | |||||
* | Avoid calculating the filter coefficients multiple times | Chris Robinson | 2017-05-21 | 1 | -24/+36 |
| | |||||
* | Add a method to copy a filter's coefficients | Chris Robinson | 2017-05-21 | 2 | -39/+6 |
| | |||||
* | Avoid unnecessary doubles | Chris Robinson | 2017-05-21 | 1 | -2/+2 |
| | |||||
* | Use a macro to specify the decay target gain | Chris Robinson | 2017-05-21 | 2 | -7/+7 |
| | |||||
* | Use more correct doppler shift calculations | Chris Robinson | 2017-05-20 | 1 | -11/+24 |
| | |||||
* | Restore spec-defined cone behavior for auxiliary sends | Chris Robinson | 2017-05-20 | 1 | -26/+23 |
| | |||||
* | Apply more proper air absorption to the wet path | Chris Robinson | 2017-05-19 | 1 | -21/+53 |
| | | | | | | | | This properly accounts for the room rolloff factor for normal air absorption (which makes it none by default, like distance attenuation), and uses the reverb's decay time, decay hf ratio, decay hf limit, and room air absorption properties to calculate an initial hf decay with the WetGainAuto flag. This mirrors the behavior of the initial distance decay. | ||||
* | Reorganize some code to have fewer temporaries | Chris Robinson | 2017-05-17 | 1 | -39/+34 |
| | |||||
* | Add an env var to specify a default pulse device | Chris Robinson | 2017-05-16 | 1 | -0/+7 |
| | | | | | Some apps don't allow selecting an audio device, and due to problems with KDE, PulseAudio isn't allowed to move the stream after being created by default. | ||||
* | Reduce the main reverb filter gain limit to match the rest | Chris Robinson | 2017-05-16 | 1 | -4/+4 |
| | |||||
* | Limit the dry and wet path filter gains to -60dB | Chris Robinson | 2017-05-15 | 1 | -4/+4 |
| | |||||
* | Improve distance-related absorption and decay attenuation | Chris Robinson | 2017-05-15 | 1 | -15/+14 |
| | |||||
* | Make reverb delay line structs use interleaved floats | Chris Robinson | 2017-05-15 | 1 | -68/+73 |
| | |||||
* | Make the reverb's early and late feedback lines interleaved | Chris Robinson | 2017-05-14 | 1 | -42/+47 |
| | |||||
* | Don't enable NFC for a 0 reference delay | Chris Robinson | 2017-05-14 | 1 | -1/+1 |
| | |||||
* | Update a couple comments about the reverb modulation | Chris Robinson | 2017-05-13 | 1 | -12/+13 |
| | |||||
* | Replace 4 separate all-passes with one vector all-pass | Chris Robinson | 2017-05-13 | 1 | -53/+47 |
| | | | | | | Each 4 related all-passes now share a structure with one delay line, which uses an interleaved sample history. Also fixes some potential rounding problems for delay lines with interleaved samples. | ||||
* | Apply reverb modulation to the late feedback lines | Chris Robinson | 2017-05-12 | 1 | -104/+71 |
| | | | | | | | | This seems to be more in-line with the intended behavior, to allow build-up and overlap within the reverb decay, rather than a pitch-shift on input. Unfortunately there's no readily available implementation of this reverb model that includes modulation to compare with, so a low depth coefficient is used to keep it very subtle. | ||||
* | Remove the 0.5 gain on the reverb output | Chris Robinson | 2017-05-11 | 1 | -6/+2 |
| | | | | | Turns out to be unnecessary, as it reduced the volume below what other reverb implementations provide with the same presets. | ||||
* | Restore the previous reverb B2A and A2B matrices | Chris Robinson | 2017-05-11 | 1 | -12/+12 |
| | | | | Also, untranspose the A2B matrix. | ||||
* | Log whether the output limiter is enabled or disabled | Chris Robinson | 2017-05-11 | 1 | -0/+1 |
| | |||||
* | Finalize AL_SOFT_source_spatialize | Chris Robinson | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | Update ALC_OUTPUT_LIMITER_SOFT to handle ALC_DONT_CARE_SOFT | Chris Robinson | 2017-05-11 | 1 | -4/+8 |
| | | | | | Essentially just adding a comment about it. Since we default to on, the behavior already fit. | ||||
* | Reduce LIMITER_VALUE_MAX | Chris Robinson | 2017-05-09 | 1 | -6/+12 |
| | | | | | | The previous value couldn't actually be expressed as a float and got rounded up to the next whole number value, leaving the potential for an overrun in the squared sum. | ||||
* | Store the output limiter values as fixed-point integers | Chris Robinson | 2017-05-08 | 1 | -11/+6 |
| | | | | | This helps keep the squared sum stable over larger updates, also avoiding the need to keep recalculating it. | ||||
* | Update reverb conversion matrices and output gain | Chris Robinson | 2017-05-08 | 1 | -10/+12 |
| | |||||
* | Apply attenuation when downmixing multi-channel sounds for panning | Chris Robinson | 2017-05-07 | 1 | -10/+26 |
| | |||||
* | Calculate the output limiter gain using the RMS | Chris Robinson | 2017-05-05 | 2 | -30/+78 |
| | |||||
* | Rename RollOff to Rolloff | Chris Robinson | 2017-05-05 | 1 | -4/+4 |
| | |||||
* | Increase the HRTF transition to 128 samples | Chris Robinson | 2017-05-05 | 1 | -2/+2 |
| | |||||
* | Implement cross-platform embedding of HRTF data | alexey.lysiuk | 2017-05-05 | 3 | -78/+8 |
| | |||||
* | Start an extension to change the source's spatialize property | Chris Robinson | 2017-05-05 | 1 | -1/+4 |
| | |||||
* | Add a property to force source spatialization on or off | Chris Robinson | 2017-05-04 | 1 | -3/+5 |
| | |||||
* | Handle attenuated sources in CalcPanningAndFilters | Chris Robinson | 2017-05-04 | 1 | -377/+442 |
| | |||||
* | Calculate the multi-channel panning in a separate function | Chris Robinson | 2017-05-04 | 1 | -249/+249 |
| | |||||
* | Finalize AL_SOFT_source_resampler | Chris Robinson | 2017-05-03 | 1 | -1/+1 |
| | |||||
* | Add a mixing function to blend HRIRs | Chris Robinson | 2017-05-03 | 6 | -27/+90 |
| | | | | | | This is a bit more efficient than calling the normal HRTF mixing function twice, and helps solve the problem of the values generated from convolution not being consistent with the new HRIR. | ||||
* | Add a slight bit of attenuation to the reverb output | Chris Robinson | 2017-05-02 | 1 | -2/+4 |
| | |||||
* | Remove a duplicate check | Chris Robinson | 2017-05-02 | 1 | -1/+1 |
| | |||||
* | Change some ALuint parameters to ALsizei | Chris Robinson | 2017-05-02 | 10 | -75/+74 |
| | |||||
* | Rename VOICE_IS_HRTF to VOICE_HAS_HRTF | Chris Robinson | 2017-05-02 | 2 | -5/+5 |
| | |||||
* | Rename 'moving' flag to 'fading' | Chris Robinson | 2017-05-02 | 1 | -2/+2 |
| | |||||
* | Reimplement bilinear interpolation between HRIRs | Chris Robinson | 2017-05-01 | 1 | -25/+82 |
| | | | | | | Some data sets are just too sparse, having noticeably few measurements to properly handle slowly panning sources. Although not perfect, bilinearly interpolating the HRIR measurements improves the positional accuracy. | ||||
* | Allow querying the output limiter state | Chris Robinson | 2017-04-30 | 1 | -2/+12 |
| | |||||
* | Start an extension to toggle the output limiter | Chris Robinson | 2017-04-30 | 1 | -5/+18 |
| | |||||
* | Don't do more reverb samples than there are to fade. | Chris Robinson | 2017-04-28 | 1 | -2/+6 |
| | | | | This avoids having to clamp the fade value when incrementing it. | ||||
* | Fade HRTF coefficients over 64 samples at most | Chris Robinson | 2017-04-28 | 1 | -40/+69 |
| | | | | | | This greatly improves HRTF performance since the dual-mix only applies to the 64-sample coefficient transition. So rather than doubling the full mix, it only doubles 64 samples out of the full mix. | ||||
* | Combine mostly duplicate functions | Chris Robinson | 2017-04-27 | 1 | -121/+50 |
| | |||||
* | Properly update the delay line offsets when fading is done | Chris Robinson | 2017-04-27 | 1 | -28/+44 |
| |