Skip to content

Noise Bursts in SBA at 32 kbps with FER

FhG found the following : "we stumbled upon an issue with PLC for SBA at 32 kbps. During silent periods strange noise bursts appear in the core band (see attached spectrogram). From the way the energy is increased across the whole PLC frames it looks like a wrong scaling or something like that. Strangely, this only happens for 32 kbps but none of the other bitrates."

Spectrum

The problem is a wrong update of the excitation, there are 2 lines that need corrections in FEC.c Ln 335 and 408, but in both case the actual condition can be read as :

if ( ( st->last_coder_type == AUDIO || st->last_good == INACTIVE_CLAS ) && st->total_brate <= ACELP_24k40 && !st->Opt_AMR_WB )

changing it to

if ( ( st->last_coder_type == AUDIO || st->last_good == INACTIVE_CLAS ) && st->total_brate <= ACELP_32k && !st->Opt_AMR_WB )

solves the issue. So, the condition should be amended considering the new maximum bitrate or adding something about the IVAS mode would be needed. I might not have a sufficiently good overview of all the modes to ensure just increasing the threshold to ACELP_32k is good enough, @vaclav could you have a look if you think it is enough or not please.