Skip to content

ISM4: Energy step when switching to all inactive

Basic info

  • Commit SHA: cf46c019
  • Platform: Windows and WSL/Linux

Bug description

When all channels turn to INACTIVE the bit distribution may change abruptly, leading to an audible step in energy in the noisy signal. Perhaps it would be better to stick with the previous bit allocation to avoid an audible transition. In the figure below, all channels turn INACTIVE around 4.8 seconds. The energy step on the noise signal in channel 1 is audible. Here, the output is EXT for illustration, but it can also be heard when rendering to binaural.

image

Ways to reproduce

git checkout cf46c019ea5564e7a1902b525a687a536a0c54d2
make -j
IVAS_cod -ism 4 NULL NULL NULL NULL 128000 48 audio4ch2.wav bit
IVAS_dec EXT 48 bit out.wav

audio4ch2

Edited by norvell