Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify effect state buffer handling some | Chris Robinson | 2023-04-04 | 1 | -2/+2 |
| | |||||
* | Make a table constexpr | Chris Robinson | 2023-02-07 | 1 | -6/+5 |
| | |||||
* | Improve performance calculating reverb panning | Chris Robinson | 2023-02-05 | 1 | -10/+11 |
| | |||||
* | Use a cubic resampler for the reverb modulator offset | Chris Robinson | 2023-02-05 | 1 | -17/+61 |
| | |||||
* | Rename some members for clarity | Chris Robinson | 2023-01-12 | 1 | -22/+22 |
| | |||||
* | Avoid duplicate code to update the reverb delay lines | Chris Robinson | 2022-12-22 | 1 | -14/+7 |
| | |||||
* | Include the reverb delay times in the fade sample count | Chris Robinson | 2022-12-20 | 1 | -24/+15 |
| | |||||
* | Make sure to update the input filters with partial updates | Chris Robinson | 2022-12-20 | 1 | -1/+11 |
| | |||||
* | Clean up some reverb mixing loops | Chris Robinson | 2022-12-19 | 1 | -21/+18 |
| | |||||
* | Turn a static member function into a lambda where it's used | Chris Robinson | 2022-12-19 | 1 | -31/+29 |
| | | | | And clean up some parameters | ||||
* | Remove a redundant comment | Chris Robinson | 2022-12-18 | 1 | -4/+1 |
| | |||||
* | Use a size_t for the reverb decay fade count | Chris Robinson | 2022-12-18 | 1 | -2/+2 |
| | |||||
* | Clear the old reverb pipeline buffer when it's done | Chris Robinson | 2022-12-17 | 1 | -9/+46 |
| | |||||
* | Rework reverb fading to toggle between pipelines | Chris Robinson | 2022-12-17 | 1 | -475/+360 |
| | | | | | | | | | | | | When non-simple properties are changed, the active reverb pipeline is switched and the new parameters set on that one. The main process function will then be set to fade out input on the old pipeline, fade in input on the new pipeline, then process and mix both pipelines. After some number of samples (calculated from its decay time), the old pipeline will stop processing. This should improve the transition from a highly reverberant environment by not harshly interpolating to the new environment, as well as better handle changes to the all-pass and T60 filters. | ||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -1/+1 |
| | |||||
* | Avoid some uses of the LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -1/+1 |
| | |||||
* | Track if doing 2D mixing only | Chris Robinson | 2022-09-04 | 1 | -1/+1 |
| | | | | And use it to select the proper HF scales | ||||
* | Allow different HF scales for 2D mixing/output | Chris Robinson | 2022-09-04 | 1 | -1/+1 |
| | | | | | Not actually used yet, the device needs to track whether it's using 2D or 3D mixing. | ||||
* | Use the difference in HF scale for upsampling ambisonics | Chris Robinson | 2022-09-03 | 1 | -1/+1 |
| | |||||
* | Revert "Don't apply the HF scaling for "upsampling" ambisonics" | Chris Robinson | 2022-09-02 | 1 | -4/+29 |
| | | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1. | ||||
* | Don't apply the HF scaling for "upsampling" ambisonics | Chris Robinson | 2022-08-31 | 1 | -29/+4 |
| | | | | | | | | | | | | Not sure if this is best, but it fixes the issue of upsampling lower orders to higher orders multiple times (mixing lower order to higher order, cutting back to lower order by dropping the extra channels, then upsampling again, applying the HF scale multiple times and messing up the high frequencies/energy vector), as well as having too-strong high frequencies of upsampled content in general. As it is, with the new upsampling method, the lower order signal contributes to some higher order channels, which helps offset the high frequency scaling difference (except first- to second-order, which adds nothing). | ||||
* | Do a simplified update for reverb when not fading | Chris Robinson | 2022-08-29 | 1 | -49/+48 |
| | |||||
* | Always fade the main early and late delay taps | Chris Robinson | 2022-08-29 | 1 | -8/+33 |
| | | | | | | | | | These were actually missing from the current check for fading. But the EFX documentation suggests these (along with the early/late gain and panning) can be adjusted often without invoking a full change, as dynamically modeling an environment would continually change these properties as the listener moves around (changing the direction and distance to the reflective surfaces). So ensuring they're kept up-to-date would be the way to go. | ||||
* | Update reverb processing | Chris Robinson | 2022-08-29 | 1 | -285/+290 |
| | | | | | | | | | | | | | Separate the core delay line into early and late input delay lines. This will be necessary to allow a second late reverb processing loop to decay after a change. Also ensure the early reflection delay line is long enough to write in MAX_UPDATE_SAMPLES first without interfering with the subsequent read. And ensure the modulation delay doesn't cause an underflow on the feedback offset. Finally, move the loop inside the processing functions to minimize loop iterations. | ||||
* | Upsample the reverb output as needed | Chris Robinson | 2022-08-27 | 1 | -35/+94 |
| | |||||
* | Create and use 2D upsampling matrices | Chris Robinson | 2022-08-25 | 1 | -1/+1 |
| | |||||
* | Inline a function and remove an unnecessary parameter | Chris Robinson | 2022-08-16 | 1 | -1/+1 |
| | |||||
* | Use proper array sizes for more gains | Chris Robinson | 2022-08-15 | 1 | -4/+4 |
| | |||||
* | Use a boolean check instead of a function pointer | Chris Robinson | 2022-05-24 | 1 | -7/+14 |
| | |||||
* | Avoid dividing by a constant | Chris Robinson | 2022-05-24 | 1 | -4/+4 |
| | |||||
* | Rename lerp to avoid conflicts with C++20's std::lerp | Chris Robinson | 2022-04-06 | 1 | -4/+4 |
| | |||||
* | Rename Sqrt1_2 for consistency | Chris Robinson | 2022-02-01 | 1 | -5/+5 |
| | |||||
* | Get rid of MathDefs | Chris Robinson | 2022-01-27 | 1 | -9/+5 |
| | |||||
* | Start and use a standard-like numbers header | Chris Robinson | 2022-01-27 | 1 | -9/+8 |
| | |||||
* | Use a different output matrix for late reverb | Chris Robinson | 2022-01-11 | 1 | -14/+22 |
| | | | | | | | | | | This is a slightly reoriented tetrahedron, with responses on the front-left and front-right, along with upper-back and lower-back. This is a alternative matrix suggested for converting the A-Format late reverb lines back to B-Format. Also alter the matrix scaling to be less destructive. x0.5 is just reducing the floating-point exponent by 1, whereas the previous values would be more likely to introduce rounding errors just from scaling. | ||||
* | Move the effects base and effectslot to core | Chris Robinson | 2021-12-17 | 1 | -1/+1 |
| | |||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -2/+2 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Update includes | Chris Robinson | 2021-04-27 | 1 | -2/+1 |
| | |||||
* | Move some functions to core | Chris Robinson | 2021-04-25 | 1 | -33/+50 |
| | | | | And clean up more includes | ||||
* | Move GetHFOrderScales to a more appropriate place | Chris Robinson | 2021-04-24 | 1 | -2/+2 |
| | |||||
* | Create a base the ALCdevice and ALCcontext structs | Chris Robinson | 2021-04-24 | 1 | -5/+5 |
| | | | | | A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data. | ||||
* | Store buffer info in the queue entry | Chris Robinson | 2021-01-24 | 1 | -2/+2 |
| | |||||
* | Return an intrusive_ptr from EffectStateFactory::create | Chris Robinson | 2020-12-28 | 1 | -2/+4 |
| | |||||
* | Combine EffectState::deviceUpdate with setBuffer | Chris Robinson | 2020-12-26 | 1 | -2/+2 |
| | |||||
* | Add a crossover frequency field for the device | Chris Robinson | 2020-12-26 | 1 | -1/+1 |
| | | | | | | Used when upsampling low-order ambisonic signals to higher order. Rather than a hardcoded 400hz, it ensures a consistent crossover point when an ambdec configuration is used. It can also allow for an alsoft config option. | ||||
* | Avoid AL types and enums in the effect processors | Chris Robinson | 2020-12-24 | 1 | -8/+8 |
| | |||||
* | Change some macros into constexpr variables | Chris Robinson | 2020-12-04 | 1 | -3/+3 |
| | |||||
* | Move the filters to core | Chris Robinson | 2020-12-04 | 1 | -4/+3 |
| | |||||
* | Change a couple macros into constexpr variables | Chris Robinson | 2020-11-28 | 1 | -2/+2 |
| | |||||
* | Move AL EffectProp handling to separate sources | Chris Robinson | 2020-11-25 | 1 | -543/+0 |
| |