aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/convolution.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Track if doing 2D mixing onlyChris Robinson2022-09-041-1/+2
| | | | And use it to select the proper HF scales
* Allow different HF scales for 2D mixing/outputChris Robinson2022-09-041-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 ambisonicsChris Robinson2022-09-031-1/+1
|
* Revert "Don't apply the HF scaling for "upsampling" ambisonics"Chris Robinson2022-09-021-0/+13
| | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1.
* Don't apply the HF scaling for "upsampling" ambisonicsChris Robinson2022-08-311-13/+0
| | | | | | | | | | | | 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).
* Create and use 2D upsampling matricesChris Robinson2022-08-251-1/+1
|
* Inline a function and remove an unnecessary parameterChris Robinson2022-08-161-1/+1
|
* Remove math_defs.hChris Robinson2022-01-271-2/+5
|
* Start and use a standard-like numbers headerChris Robinson2022-01-271-2/+4
|
* Move the effects base and effectslot to coreChris Robinson2021-12-171-1/+1
|
* Make an inline function to check for 2D ambisonic formatsChris Robinson2021-12-121-1/+1
|
* Add an internal Super Stereo formatChris Robinson2021-12-111-0/+1
| | | | | | | It's not available as an AL buffer format (yet) since I'm not sure how to expose it. Internally it seems fine as a separate channel configuration, but because OpenAL combines the channel configuration and sample type, a flag may work better there.
* Add a UHJ-specific coefficient scaling arrayChris Robinson2021-07-131-2/+7
|
* Update include headersChris Robinson2021-04-271-2/+2
| | | | Don't add alc/ to the include paths.
* Update includesChris Robinson2021-04-271-2/+1
|
* Move BufferStorage and Voice to coreChris Robinson2021-04-271-1/+1
|
* Move GetChannelIdxByName and clean up some more includesChris Robinson2021-04-261-1/+0
|
* Move some functions to coreChris Robinson2021-04-251-1/+17
| | | | And clean up more includes
* Move GetHFOrderScales to a more appropriate placeChris Robinson2021-04-241-2/+1
|
* Create a base the ALCdevice and ALCcontext structsChris Robinson2021-04-241-6/+6
| | | | | A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data.
* Add support for 4-channel UHJChris Robinson2021-03-311-1/+2
| | | | Also add the SOFT moniker to the new macros
* Handle 3-channel UHJ audio buffersChris Robinson2021-03-311-1/+2
|
* Start an interface for providing UHJ audioChris Robinson2021-03-311-1/+20
| | | | Currently only 2-channel UHJ, which gets treated as stereo.
* Store buffer info in the queue entryChris Robinson2021-01-241-20/+20
|
* Avoid global constexpr arraysChris Robinson2021-01-211-11/+11
|
* Add NEON-enhanced FIR loops for convolution and UHJChris Robinson2020-12-311-0/+15
|
* Return an intrusive_ptr from EffectStateFactory::createChris Robinson2020-12-281-1/+2
|
* Avoid including voice.h in alcontext.hChris Robinson2020-12-271-0/+1
|
* Combine EffectState::deviceUpdate with setBufferChris Robinson2020-12-261-7/+2
|
* Add a crossover frequency field for the deviceChris Robinson2020-12-261-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.
* Update a comment and type used in the convolution effectChris Robinson2020-12-251-11/+11
|
* Rename From2D to FromACN2DChris Robinson2020-12-251-1/+1
|
* Avoid AL types and enums in the effect processorsChris Robinson2020-12-241-5/+4
|
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Move fmt_traits to coreChris Robinson2020-12-131-1/+1
|
* Move ambidefs.h to coreChris Robinson2020-12-121-1/+1
|
* Use a smaller FFT for convolutionChris Robinson2020-12-051-3/+3
|
* Change some macros into constexpr variablesChris Robinson2020-12-041-4/+4
|
* Move the filters to coreChris Robinson2020-12-041-2/+2
|
* Move AL EffectProp handling to separate sourcesChris Robinson2020-11-251-93/+1
|
* Use a separate structure for the active effect slot propertiesChris Robinson2020-11-071-4/+6
|
* Support all buffer layouts for convolutionChris Robinson2020-09-221-22/+99
|
* Don't use direct channels with convolutionChris Robinson2020-09-181-19/+5
| | | | | It may come back as an effect property, but it's probably better to not try forcing it by default.
* Allow higher-order B-Format buffers for convolutionChris Robinson2020-09-181-6/+5
| | | | | Only the first-order channels will be used, but higher-order buffers will be allowed.
* Avoid extraneous buffers and buffer clearsChris Robinson2020-09-171-9/+9
|
* Use inline wrappers to clarify forward/inverse FFTsChris Robinson2020-09-131-3/+3
|
* Don't assume iterators are pointersChris Robinson2020-09-091-2/+2
|
* Apply the first convolution segment in the time domainChris Robinson2020-09-091-22/+86
| | | | | | | This avoids an inherent delay from the effect, at the cost of higher CPU use. Having a customizable user-specified delay (with said user ensuring a properly trimmed impulse response) could help alleviate the cost since once the delay exceeds the segment size, the initial FIR filter could be skipped.
* Don't leave the negative frequencies as 0 for inverse FFTChris Robinson2020-09-081-2/+7
|
* Avoid an extraneous ConvolutionFilter sub-objectChris Robinson2020-09-061-112/+90
|