Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -7/+7 |
| | |||||
* | 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 | 2 | -7/+13 |
| | | | | | | 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 | 2 | -13/+12 |
| | | | | | 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 |
| | |||||
* | Put the app name after filename in the window title | Chris Robinson | 2017-05-07 | 1 | -1/+1 |
| | |||||
* | Update AL_SOURCE_SPATIALIZE_SOFT value | Chris Robinson | 2017-05-06 | 1 | -1/+1 |
| | | | | | | Though it didn't strictly clash since it was for a different component (global state vs source property), 0x1213 was used by AL_RESAMPLER_NAME_SOFT. Probably best to avoid duplicate property values regardless. | ||||
* | Include the Built-In HRTF names in alsoft-config when enabled | Chris Robinson | 2017-05-05 | 1 | -0/+5 |
| | |||||
* | Calculate the output limiter gain using the RMS | Chris Robinson | 2017-05-05 | 4 | -31/+98 |
| | |||||
* | Move native-tools to the root directory | Chris Robinson | 2017-05-05 | 3 | -1/+1 |
| | |||||
* | Make the generated data array static const | Chris Robinson | 2017-05-05 | 1 | -1/+1 |
| | |||||
* | Rename RollOff to Rolloff | Chris Robinson | 2017-05-05 | 4 | -10/+10 |
| | |||||
* | Increase the HRTF transition to 128 samples | Chris Robinson | 2017-05-05 | 1 | -2/+2 |
| | |||||
* | Merge pull request #112 from alexey-lysiuk/embed_hrtf_pr | kcat | 2017-05-05 | 8 | -117/+149 |
|\ | | | | | Cross-platform embedding of HRTF data | ||||
| * | Enable embedding of HRTF data in CI config files | alexey.lysiuk | 2017-05-05 | 2 | -1/+4 |
| | | |||||
| * | Implement cross-platform embedding of HRTF data | alexey.lysiuk | 2017-05-05 | 6 | -116/+145 |
|/ | |||||
* | Start an extension to change the source's spatialize property | Chris Robinson | 2017-05-05 | 4 | -4/+35 |
| | |||||
* | Add a property to force source spatialization on or off | Chris Robinson | 2017-05-04 | 4 | -3/+15 |
| | |||||
* | 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 |
| | |||||
* | Print available resamplers in openal-info | Chris Robinson | 2017-05-03 | 1 | -0/+33 |
| | |||||
* | Update changelog | Chris Robinson | 2017-05-03 | 1 | -3/+2 |
| | |||||
* | Finalize AL_SOFT_source_resampler | Chris Robinson | 2017-05-03 | 3 | -14/+13 |
| | |||||
* | Rename Zero-Order Hold to Nearest | Chris Robinson | 2017-05-03 | 1 | -1/+1 |
| | | | | | | A bit of a misnomer now since "Nearest" implies rounding (i.e. when the sample offset is >= .5, it should pick the next sample being closer in time), but that adds unnecessary complications. | ||||
* | Add a mixing function to blend HRIRs | Chris Robinson | 2017-05-03 | 7 | -27/+95 |
| | | | | | | 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 | 11 | -77/+76 |
| | |||||
* | Rename VOICE_IS_HRTF to VOICE_HAS_HRTF | Chris Robinson | 2017-05-02 | 3 | -6/+6 |
| | |||||
* | Rename 'moving' flag to 'fading' | Chris Robinson | 2017-05-02 | 3 | -9/+9 |
| | |||||
* | Set a voice as 'moving' if it starts/resumes at an offset | Chris Robinson | 2017-05-02 | 1 | -8/+21 |
| | |||||
* | 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 | 2 | -5/+23 |
| | |||||
* | 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 |
| | |||||
* | Write directly to the output for HRTF | Chris Robinson | 2017-04-27 | 1 | -51/+26 |
| | |||||
* | Document the output-limiter config option | Chris Robinson | 2017-04-26 | 3 | -4/+47 |
| | | | | Expose it in alsoft-config as well. | ||||
* | Implement a limiter on the device output | Chris Robinson | 2017-04-26 | 3 | -4/+72 |
| | | | | | | This reduces the output volume when the mixed samples extend outside of -1,+1, to prevent excessive clipping. It can reduce the volume by -80dB in 50ms, and increase it by +80dB in 1s (it will not go below -80dB or above 0dB). | ||||
* | Compile with -fno-math-errno when available | Chris Robinson | 2017-04-26 | 1 | -0/+5 |
| | | | | Helps GCC to inline some fp functions, e.g. lrintf | ||||
* | Reverb code update | Chris Robinson | 2017-04-26 | 1 | -824/+1213 |
| | | | | | | | | | | | | | | This update modifies the reverb in numerous ways. The 3-series, 4-parallel all-pass is replaced with a Gerzon vector all-pass. The vector all-pass is also applied to the early reflections, to help with the initial diffusion in the late reverb. The late reverb filter and feedback attenuation has been replaced with a dual first-order equalization filter, which controls the low and high frequencies with individual low-pass/high-shelf and high-pass/low-shelf filters with gain control. Additionally, delay lines now have the ability to blend the output between two offsets, to help smooth out the transition for when the delay changes (without such, it could result in undesirable clicks and pops). | ||||
* | Skip mixing the fade out step when starting silent | Chris Robinson | 2017-04-25 | 1 | -12/+19 |
| | | | | | Unfortunately it can't skip mixing the fade in when going to silence because the history needs to be up to date. | ||||
* | Remove const from _Atomic vars to make Clang happy | Chris Robinson | 2017-04-21 | 5 | -19/+42 |
| | | | | | | | | Clang does not allow using C11's atomic_load on const _Atomic variables. Previously it just disabled use of C11 atomics if atomic_load didn't work on a const _Atomic variable, but I think I'd prefer to have Clang use C11 atomics for the added features (more explicit memory ordering) even if it means a few instances of breaking const. | ||||
* | Use more sensible values for the source resampler enums | Chris Robinson | 2017-04-21 | 1 | -4/+4 |
| |