aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some types for MSVCChris Robinson2018-01-111-1/+2
|
* Ensure NextPowerOf2 is being used correctlyChris Robinson2018-01-112-5/+6
|
* Reorder some loops in the equalizer and use MixSamplesChris Robinson2018-01-111-61/+43
|
* Use MixSamples for the dedicated and ring modulator effect outputChris Robinson2018-01-112-57/+40
|
* Apply the distortion gain to the mixing gainsChris Robinson2018-01-111-6/+3
|
* Avoid using macros to access anonymous structuresChris Robinson2018-01-118-13/+15
|
* Use one macro to handle both resample padding sizesChris Robinson2018-01-091-1/+1
|
* Combine the chorus and flanger processing functionsChris Robinson2018-01-092-436/+164
| | | | | | | Given that they're nearly identical, it should be relatively simple to use the same effect state to process either of them, similar to the reverbs. The big differences seem to be the delay range (much shorter with flanger) and the defaults.
* 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
|
* Ensure the chorus delay and depth leave enough padding for resamplingChris Robinson2018-01-072-14/+26
| | | | Also use cubic resampling for the modulated tap. Applies to flanger too.
* 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.
* Don't offset the chorus/flanger delay and LFOChris Robinson2017-12-242-36/+22
| | | | | The delay being added to the scaled LFO will ensure a proper positive result regardless.
* 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
|
* Fix the lfo_offset for a 0-rate flangerChris Robinson2017-12-191-1/+1
|
* Use MixSamples for the echo outputChris Robinson2017-12-191-30/+20
|
* Update the chorus and flanger state struct less oftenChris Robinson2017-12-192-8/+8
|
* Make the echo effect only apply feedback to repeated samplesChris Robinson2017-12-191-11/+16
|
* Fade gains in the chorus and flanger outputChris Robinson2017-12-192-16/+20
|
* Use a single delay line for chorus feedback on a fixed tapChris Robinson2017-12-182-92/+118
| | | | | | The outputs themselves use a variale-delay tap, but using a separate fixed- delay tap on the feedback helps improve the perceived "wobble" with sustained notes. This also applies to the flanger effect.
* Apply chorus and flanger feedback on the tapped re-feedChris Robinson2017-12-172-6/+6
|
* Use the selected mixer for chorus and flanger outputChris Robinson2017-12-172-50/+22
|
* Make MixSamples non-static globalChris Robinson2017-12-171-2/+0
|
* Update flanger with the same changes as chorusChris Robinson2017-12-151-44/+55
|
* Use a separate LFO offset in the chorus effectChris Robinson2017-12-151-10/+19
| | | | | Given that the LFO range is not a power-of-two, it won't correctly wrap on overflow.
* Use linear interpolation for the chorus delay outputChris Robinson2017-12-151-37/+39
|
* 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-2110-41/+50
|
* Use sqrtf for single-precision square rootsChris Robinson2017-06-291-1/+1
|
* Remove the fastf2u conversion functionChris Robinson2017-06-273-9/+9
|
* Calculate chorus and flanger mod delays separately from feedbackChris Robinson2017-06-072-135/+118
|
* 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.
* Fix handling chorus and flanger LFO displacement offsetChris Robinson2017-05-262-2/+8
| | | | | The phase offset is modulo-wrapped rather than masked, so it's best to avoid negative offsets.
* Properly handle the chorus and flanger LFOsChris Robinson2017-05-262-24/+30
| | | | | The effects' specified delay is the average delay time, meaning the delay offset should move between -n and +n relative to the delay, where n <= delay.
* Add a method to copy a filter's coefficientsChris Robinson2017-05-212-39/+6
|
* 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
|