aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a specific function for truncating float-to-int conversionsChris Robinson2018-05-031-10/+10
|
* Rename BiquadState to BiquadFilterChris Robinson2018-04-041-12/+12
|
* Apply biquad and T60 filters using transposed direct form IIChris Robinson2018-04-031-14/+9
|
* Fix a couple comments about coordinate handednessChris Robinson2018-03-241-3/+3
|
* Rename ALfilterState/Type to BiquadState/TypeChris Robinson2018-03-231-12/+12
|
* Move the filter implementation to a separate directoryChris Robinson2018-03-221-2/+1
|
* Move mixer sources into a sub-directoryChris Robinson2018-03-221-1/+0
|
* Fix the reverb panning behavior to better fit the specChris Robinson2018-03-191-83/+38
| | | | | | Previously it would attenuate the response from direction opposite to the vector, whereas the property descriptions say it should simply move all reflections toward the given direction.
* Use a macro template to define similar functionsChris Robinson2018-03-151-78/+48
|
* Remove an extraneous +Chris Robinson2018-03-141-1/+1
|
* Move a loop into a functionChris Robinson2018-03-131-5/+7
|
* Avoid AL prefix on internal effect state factory typesChris Robinson2018-02-281-8/+8
| | | | Also avoid using the generic V/V0 macros for them
* Combine the vector reverse and partial scatter where they're togetherChris Robinson2018-02-181-21/+20
|
* Remove unused reverb modulation codeChris Robinson2018-02-101-107/+2
| | | | | | Still unsure how to handle reverb modulation without some kind of reference output, so remove the related functions to not waste CPU time. It'll remain in the Git history should it ever need to be resurrected.
* Attempt to improve the reverb panning vectorsChris Robinson2018-02-081-20/+42
| | | | | This should now retain the original orientation of the soundfield and merely focus on the panning vector direction, as intended.
* Alter tha curve of the density-related delay scaleChris Robinson2018-02-081-22/+33
| | | | | | | | | | | | | | | | | | | The delay scale is roughly linear with respect to room size, however the density is not linear with room size. The density is calculated by taking the room size cubed, then normalized by some factor. Unnormalizing the density and taking the cube root restores the original room size to use as a delay scale. The patch also alters the delay and all-pass line lengths to be based on a 1 meter room size, so the the room size recovered from the density acts as a direct multiple for the desired target length. Note that the room scale range is unchanged (5m to 50m), so the minimum and maximum delays are the same. It should also be noted that 50m may not be the correct room size for a density value of 1. A density value of 1 corresponds to an environment size of roughly 2.52m when converted from EAX (DENSITY_SCALE should be 16 rather than 125000), but sizes that low result in undesirable resonance in the feedback, indicating other changes are necessary for that to work.
* Revert "Don't fade the all-pass delay changes"Chris Robinson2018-02-041-28/+48
| | | | This reverts commit 799dfb732b4f49198d72649e86955ea82f45f229.
* Construct error messages using parameterized valuesChris Robinson2018-01-251-44/+48
|
* Provide messages for the remaining AL errorsChris Robinson2018-01-241-62/+50
|
* Use a global RowMixerFuncChris Robinson2018-01-161-10/+0
|
* Don't fade the all-pass delay changesChris Robinson2018-01-151-48/+28
|
* Fix a comment regarding the T60 filter coefficientsChris Robinson2018-01-151-3/+2
|
* Simplify preparing the T60 filtersChris Robinson2018-01-151-50/+11
|
* Use separate input and outputs for the T60 and allpass processingChris Robinson2018-01-151-21/+22
|
* Use a proper type for the T60 decay filterChris Robinson2018-01-151-25/+22
|
* Separate some anonymous structs into defined structsChris Robinson2018-01-141-107/+109
|
* Remove a redundant lower value clampChris Robinson2018-01-141-4/+2
|
* Don't check the modulation depth for changes multiple timesChris Robinson2018-01-141-7/+8
|
* Use separate arrays for the T60 filter statesChris Robinson2018-01-141-9/+10
|
* Use a macro for the number of reverb linesChris Robinson2018-01-141-82/+86
|
* Only pass the needed parameters to LateT60FilterChris Robinson2018-01-141-28/+21
|
* Pre-apply the T60 filter midgain to the HF filter coeffsChris Robinson2018-01-131-38/+30
|
* Replace some freq_mult variable names with f0normChris Robinson2018-01-131-6/+6
| | | | | | The latter is a bit more descriptive as f0 is often used to denote the reference frequency of a filter, so f0norm indicates the normalized reference frequency (ref_freq / sample_rate).
* Avoid using macros to access anonymous structuresChris Robinson2018-01-111-2/+4
|
* Remove standard reverb specific processing functionsChris Robinson2018-01-071-114/+35
|
* Move the UNEXPECTED macro to the main header and rename itChris Robinson2018-01-071-6/+1
|
* Use separate outputs for the vector reverse and scatter functionsChris Robinson2018-01-041-29/+23
|
* Avoid the modulated output tap for late reverbChris Robinson2018-01-041-28/+14
| | | | | | And fix the output filtering. The modulation code is still there since it's (probably) technically correct, but the interaction with the feedback loop and filtering on the output caused improper behavior which needs to be sorted out.
* Don't offset the reverb modulation sinusChris Robinson2018-01-021-1/+1
|
* Use a float literal for float mathChris Robinson2018-01-021-2/+2
|
* Fix up a commentChris Robinson2017-12-241-7/+5
|
* Don't make a pass-through macro for FadedDelayLineOutChris Robinson2017-12-241-8/+7
|
* Use linear interpolation for reverb modulationChris Robinson2017-12-241-76/+130
| | | | | | The core LateReverb_* functions are explicitly written out now, since the tapping and blending done by the Faded version is a bit more complex and it's not so easy to ensure proper optimizing on the Unfaded version.
* Fade between depths in the reverb modulatorChris Robinson2017-12-241-48/+26
|
* Use a separate unmodulated feedback tap for reverbChris Robinson2017-12-241-18/+20
|
* Clarify some reverb valuesChris Robinson2017-12-231-7/+6
|
* Reorder some global variablesChris Robinson2017-12-231-188/+188
|
* Cleanup reverb modulation scalingChris Robinson2017-12-231-14/+17
|
* Make MixSamples non-static globalChris Robinson2017-12-171-2/+0
|
* Add an option to ignore the app's speed of sound for reverb decayChris Robinson2017-09-221-2/+2
|