aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use the app-specified speed of sound for reverb decayChris Robinson2017-09-211-4/+7
| | | | | Specifically, the initial reverb decay as determined by the source distance, and the reverb decayhf limit from air absorption.
* Pass the context to the auxiliary effect update methodChris Robinson2017-09-211-2/+3
|
* Use sqrtf for single-precision square rootsChris Robinson2017-06-291-1/+1
|
* Remove the fastf2u conversion functionChris Robinson2017-06-271-7/+7
|
* Make the late lines' delay the delay average for modulationChris Robinson2017-06-071-59/+36
| | | | | | | | | Similar to the recent chorus and flanger changes, the modulation delay now swings between -n to +n, where n is less than the delay length. This brings up a slight issue with the linear interpolation, as modff doesn't produce the correct fraction value for interpolation (it's inverted, with 0 being closer to the next sample and 1 being closer to the base). So it's using nearest interpolation for now.
* Add a method to copy a filter's coefficientsChris Robinson2017-05-211-11/+2
|
* Avoid unnecessary doublesChris Robinson2017-05-211-2/+2
|
* Use a macro to specify the decay target gainChris Robinson2017-05-211-2/+2
|
* Reduce the main reverb filter gain limit to match the restChris Robinson2017-05-161-4/+4
|
* Make reverb delay line structs use interleaved floatsChris Robinson2017-05-151-68/+73
|
* Make the reverb's early and late feedback lines interleavedChris Robinson2017-05-141-42/+47
|
* Update a couple comments about the reverb modulationChris Robinson2017-05-131-12/+13
|
* Replace 4 separate all-passes with one vector all-passChris Robinson2017-05-131-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 linesChris Robinson2017-05-121-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 outputChris Robinson2017-05-111-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 matricesChris Robinson2017-05-111-12/+12
| | | | Also, untranspose the A2B matrix.
* Update reverb conversion matrices and output gainChris Robinson2017-05-081-10/+12
|
* Add a slight bit of attenuation to the reverb outputChris Robinson2017-05-021-2/+4
|
* Change some ALuint parameters to ALsizeiChris Robinson2017-05-021-4/+4
|