Skip to main content


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: Psychoacoustics vs. quantization (Read 2523 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Psychoacoustics vs. quantization

I've been making my own audio codec (nothing meant for public distribution; I just want to learn how to do it) and I have a question regarding masking and quantization. Consider the following audio spectrum:

where the black line is the actual power spectrum, and the red line is the calculated mask.

I know that at point A you can completely throw out the frequency since it's below the masking curve, but what about point B? How does the masking curve regulate the proper quantization? Assuming the spectrum is at 50dB and the mask is at 45dB, does that really mean you can add another 45dB of quantization noise to the signal? I just don't know how to interpret the output.
Any clarifications would be of great help.
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2