aboutsummaryrefslogtreecommitdiffstats
path: root/utils/uhjencoder.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy cleanups (#800)Rosen Penev2023-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Support different input channel orders in uhjencoderChris Robinson2022-11-041-12/+39
|
* Use the correct input for the IIR UHJ encoderChris Robinson2022-10-261-2/+2
| | | | Also better detail the IIR implementation.
* Avoid a duplicate all-pass function that accumulatesChris Robinson2022-10-221-33/+30
|
* Add options to encode 3- and 4-channel UHJ to uhjencoderChris Robinson2022-02-041-19/+71
| | | | | | | The generated files won't play correctly if the player doesn't know they're 3- and 4-channel UHJ (the third and fourth channels must be ignored, or decoded, for playback). This is largely just for completion's sake, just in case someone has a use for it.
* Remove math_defs.hChris Robinson2022-01-271-47/+48
|
* Slight update to the UHJ coefficientsChris Robinson2021-11-281-1/+1
| | | | | | | The extended precision of the encoder's 0.6512*X term was guesswork, with no real basis for it. Switch back to the original value until something better actually comes up. Also updates the decoder to account for the change in the encoder.
* Use a higher quality all-pass for the UHJ utilsChris Robinson2021-07-301-1/+1
|
* Add a utility to encode audio files to UHJChris Robinson2021-07-091-0/+454