Commit 5429c0f
authored
quantize: drop maxe*=gsize tonal scaling in bmask (#115)
bmask()'s tonal-masking term scaled the per-band peak energy by gsize
(the number of grouped short windows). This dates to the 2017 "initial
windows grouping support" commit, where avge changed from a single-window
average to a gsize-summed total and maxe (still a single-window peak) was
multiplied by gsize to match its scale.
The quantizer was later rewritten so the masking target uses avge/avgenrg
and maxe/avgenrg as ratios against a separately-scaled avgenrg. In that
form the gsize multiply no longer matches anything -- it just inflates the
tonal term on grouped short blocks and quantizes transients too coarsely.1 parent 960a0ea commit 5429c0f
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
0 commit comments