[CI] Add scripts/create_mode_force.py for mode synch debugging
Adding the simple mode force conversion script create_mode_force.py
, also attached here: sa4/audio/ivas-basop!825 (merged)
Provided that the float reference is compiled with DEBUGGING and DEBUG_MODE_INFO, and the BASOP encoder is encoded with DEBUGGING, the following commands can be used to synch the modes of an ISM1 run:
./IVAS_cod_ref -ism 1 NULL 24400 48 scripts/testv/stv48c.wav bit_fl
python3 scripts/create_mode_force.py res/core 48 force.txt
mv res res_fl
./IVAS_cod -force force.txt -ism 1 NULL 24400 48 scripts/testv/stv48c.wav bit_fx
./IVAS_dec_ref EXT 48 bit_fl out_fl.wav
./IVAS_dec_ref EXT 48 bit_fx out_fx.wav
- Affected operating points: None. Just adds a debugging script.