Skip to content

IVAS_rend ISM rendering not working correctly for OMASA input with 5 ms output.

Basic info

Bug description

Noticed as diff between BASOP and float in BASOP issue sa4/audio/ivas-basop#2441 (closed)

The 5 ms and 20 ms rendering differ significantly for OMASA. They should be BE unless limiter hits. On BASOP side, they are BE, but for float, they are not. BASOP 20 ms and float 20 ms are also relatively close to each other.

Further pinpointing this by muting in code the output for MASA part and ISM part, it is evident that the diff source is ISM part. Listening just to the ISM part reveals that with 5 ms, the metadata does not seem to apply similarly as with 20 ms and this might be the main cause for difference.

Ways to reproduce

Use following command lines and compare outputs.

./IVAS_rend -i ./scripts/testv/stv20sOMASA_1ISM2TC.wav -if ism1masa2 -im ./scripts/testv/stv20sOMASA_1ISM2TC_ISM1.csv ./scripts/testv/stv20sOMASA_1ISM2TC.met -fr 5 -of binaural -o float_5ms.wav
./IVAS_rend -i ./scripts/testv/stv20sOMASA_1ISM2TC.wav -if ism1masa2 -im ./scripts/testv/stv20sOMASA_1ISM2TC_ISM1.csv ./scripts/testv/stv20sOMASA_1ISM2TC.met -fr 20 -of binaural -o float_20ms.wav