aboutsummaryrefslogtreecommitdiffstats
path: root/core/ambidefs.h
Commit message (Collapse)AuthorAgeFilesLines
* 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-13/+2
|
* Revert "Don't apply the HF scaling for "upsampling" ambisonics"Chris Robinson2022-09-021-0/+14
| | | | This reverts commit bf3f63fb4c5faa45784d7433d68b7013e29ee2c1.
* Don't apply the HF scaling for "upsampling" ambisonicsChris Robinson2022-08-311-14/+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).
* Add a 2D fourth-order upsamplerChris Robinson2022-08-271-1/+2
| | | | This will be necessary for 2D fourth-order sources with 3D fourth-order output.
* Fix variable nameChris Robinson2022-08-261-2/+2
|
* Create and use 2D upsampling matricesChris Robinson2022-08-251-4/+10
|
* Avoid duplicate codeChris Robinson2022-08-181-0/+55
|
* Inline a function and remove an unnecessary parameterChris Robinson2022-08-161-2/+10
|
* Use a decode-encode method for ambisonic upsamplingChris Robinson2022-08-151-0/+4
| | | | | | | | This should allow for clearer and less diffuse responses. While a cube is in the blindspots for second-order, resulting in an identify transform for first- to-second-order, they do start contributing to third-order channels, which should make for sharper virtual points. The fixed HF scales should also play nicer with larger order upmixes.
* Minor UHJ coefficient scaling precision improvementChris Robinson2021-12-131-3/+3
|
* Add a UHJ-specific coefficient scaling arrayChris Robinson2021-07-131-0/+12
|
* Move GetHFOrderScales to a more appropriate placeChris Robinson2021-04-241-0/+4
|
* Avoid global constexpr arraysChris Robinson2021-01-211-80/+116
|
* Rename From2D to FromACN2DChris Robinson2020-12-251-1/+1
|
* Move ambidefs.h to coreChris Robinson2020-12-121-0/+135