Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Clicks and Pops in SBC Decoder (Read 4225 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Clicks and Pops in SBC Decoder

Hi All...

Currently i am working with SBC Decoder, while i run my decoder for the test case with 44.1Khz and 16blks and 8 sub bands it produces a output with clicks and pops. But no clicks and pops in output when i run the same testcase in reference SBC decoder in A2DP profile. Could any one guide me to solve this issue? The clicks and pops are occur in samples which has high amplitude.

Thanks and Regards,
Vigneshwaran V

Clicks and Pops in SBC Decoder

Reply #1
Don't know anything specific, but it sounds like clipping isn't properly handled, possibly if you're using integer mathematics. If you divide into subbands and reduce bit-depth then recombine (or other operations like filtering), you'll often get some peaks higher than the original (Gibbs phenomenon). You need to handle those properly to max them out to full scale positive or negative as appropriate rather than ignore cut-off the extra most significant bit that's required to represent them.

In decimal imagine I use 2-figure representation so 99 is my limit and that turns into 105. If I ignore the 3rd figure, that looks like 05, which is way different to 99. In 2's complement binary, it can even turn a positive into a negative. 01111111 is positive full scale +127 but 10000000 is negative full scale -128 in 8-bit 2's complement.

That's pure speculation but somethiing to look for given it occurs at high amplitudes only.
Dynamic – the artist formerly known as DickD