Skip to content

External target interpolation different between 5ms and 20ms

Basic info

Bug description

Due to a unnecessary different initialisation of maximumFramesToTargetOrientation for 5ms and non-5ms rendering the output may not be BE for 5ms and 20ms when interpolation to a external target orientation is active

Ways to reproduce

Disable the limiter by adding

#define DISABLE_LIMITER

to lib_com/options.h

run

.\IVAS_cod -ism 4 scripts/testv/stvISM1.csv scripts/testv/stvISM2.csv scripts/testv/stvISM3.csv scripts/testv/stvISM4.csv 256000 48 scripts/testv/stv4ISM48s.wav bit
.\IVAS_dec -fr 5 -t scripts/testv/headrot_case03_3000_q.csv -exof scripts/testv/headrot_case00_3000_q_combinedRotationTest.csv BINAURAL 48 .\bit fr5.wav
.\IVAS_dec -fr 20 -t scripts/testv/headrot_case03_3000_q.csv -exof scripts/testv/headrot_case00_3000_q_combinedRotationTest.csv BINAURAL 48 .\bit fr20.wav

and compare the two wave files. Differences in the interpolation coefficients can be observed e.g. from frame 94 onwards.