aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-11-03 00:44:19 +0100
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-11-03 00:44:19 +0100
commit4be2e387a494b1c02d2ca0747dd64b6ba8980d21 (patch)
tree5bfd49b058321afc7479d76d24e5152002a4c42e
parentbf225b16dd73d19281970cfc6be76311f0fbf3a6 (diff)
downloadatracdenc-4be2e387a494b1c02d2ca0747dd64b6ba8980d21.tar.gz
Reduce hearable noise in some tracks for ATRAC1 encoder.
https://hydrogenaud.io/index.php/topic,120193.0.html ATH + changes of bitallocation table allow significant reduce the noise. But some artefacts still present.
-rw-r--r--src/atrac/atrac1_bitalloc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atrac/atrac1_bitalloc.cpp b/src/atrac/atrac1_bitalloc.cpp
index 21584a9..bb83056 100644
--- a/src/atrac/atrac1_bitalloc.cpp
+++ b/src/atrac/atrac1_bitalloc.cpp
@@ -34,9 +34,9 @@ using std::endl;
using std::pair;
static const uint32_t FixedBitAllocTableLong[TAtrac1BitStreamWriter::MaxBfus] = {
- 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 6,
+ 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4,
- 4, 4, 3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 1, 0, 0, 0
+ 4, 4, 3, 3, 3, 3, 3, 3, 2, 1, 1, 1, 1, 0, 0, 0
};
static const uint32_t FixedBitAllocTableShort[TAtrac1BitStreamWriter::MaxBfus] = {