aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #177 from Raulshc/Pitch-shifterkcat2018-03-211-0/+494
|\ | | | | EFX:Pitch shifter
| * EFX:Own size for pitch shifter buffersRaulshc2018-03-191-17/+18
| |
| * EFX:Pitch Shifter implementationRaulshc2018-03-181-0/+493
| | | | | | Add pitch shifter effect using standard phase vocoder, based on work of Stephan Bernsee. Only mono signal processing by now.
* | 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
|
* Only calculate the modulation samples once for all 4 channelsChris Robinson2018-03-081-19/+25
|
* Simplify modulator effect index updatingChris Robinson2018-03-081-3/+2
|
* Avoid AL prefix on internal effect state factory typesChris Robinson2018-02-289-81/+81
| | | | Also avoid using the generic V/V0 macros for them
* Remove the unnecessary ComputeAmbientGainsChris Robinson2018-02-181-1/+4
|
* 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-259-170/+176
|
* Provide messages for the remaining AL errorsChris Robinson2018-01-249-261/+188
|
* Use a global RowMixerFuncChris Robinson2018-01-161-10/+0
|
* Do more samples at once with the distortion effectChris Robinson2018-01-161-25/+21
|
* 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
|
* Avoid unnecessarily using type aliasesChris Robinson2018-01-141-2/+2
|
* 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-132-17/+17
| | | | | | 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).
* 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
|