Directivity pattern id read while parsing config file is not stored in the correct index
Basic info
- Commit SHA: main
- Platform: all
Bug description
While parsing directivity parameters in a render_config file that contains several directivity patterns, the directivity pattern ids associated with each directivity pattern are not stored in the correct index. When the -dpid
command-line option is used to specify the id(s) used to set the directivity for each object, the id(s) are not found.
Ways to reproduce
Running
IVAS_cod.exe -ISM 1 ISM1met.csv 48000 48 ism1.wav bit IVAS_dec.exe -render_config config_directivity_patterns2.cfg -DPID 1 BINAURAL_ROOM_REVERB 48 bit out.wav
Results in decoder output
IVAS Codec Baseline Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021, Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0 ================================================================================================== Input bitstream file: bit Output synthesis file: out.wav PARAM: DIRECTIVITYCOUNT -> 2 PARAM: DIRECTIVITY -> [0.0,360.0,0.2512] PARAM: DIRECTIVITY -> [0.2,180.0,0.1037] Output sampling rate: 48000 Hz Bitrate: 48.00 kbps Input configuration: ISM: 1 transport channel(s) Output configuration: Binaural: room with reverb Renderer config. file: ON Directivity pattern: ON PARAM: DIRECTIVITYCOUNT -> 2 PARAM: DIRECTIVITY -> [0.0,360.0,0.2512] PARAM: DIRECTIVITY -> [0.2,180.0,0.1037] Failed to get directivity for objects: 1 0 0 0
Edited by kinuthia