Both VS1053 and VS1063 are capable of recording audio with a straight frequency response upto 20 kHz. One example application that demonstrates this is the VS1053b WAV PCM Recorder application, which has a frequency response of +- 0.15 dB between 10 - 20000 Hz. The package is available for download at
http://www.vlsi.fi/en/support/software/ ... tions.html.
However, Ogg Vorbis and MP3 are both highly compressed, lossy audio formats where upto over 90% of the original audio data bits are removed (example: 48 kHz 16-bit stereo PCM which is 1536 kbit/s is compressed to 128 kbit/s MP3 format). Because they are lossy audio formats, quality
always decreases when encoding.
So, to get such high compression, lots of audio data needs to be removed. It is important to remove audio data in such a way that sound quality is kept as good as possible.
Most people cannot really hear frequencies over 15 kHz very well or not at all. Because of that reason, the VS1053 Ogg Vorbis encoder and the VS1063 MP3 encoder remove that data so that there are more bits left for those audio frequencies that are more important. If they tried to encode all frequencies upto 20 kHz, sound quality would actually become worse because valuable bits are used to encode data that cannot be heard anyway! The creators of the MP3 format also thought in a similar way, because they made the MP3 standard in such a way that makes it very inconvenient to encode frequencies above 15 kHz.
About the encoders in VS1053/VS1063.
VS1053:
- Ogg Vorbis: Your observations are correct. The lowest Ogg Vorbis quality setting 0 at 44.1 kHz stereo sets the frequency response upper limit to 13.5 kHz, and the highest setting 5 to 16.5 kHz. As explained earlier, these limits are there to make sound quality better!
VS1063:
- MP3: The highest quality or bitrate settings at 32, 44.1 kHz and 48 kHz (48 kHz recommended) set the frequency upper limit to 15 kHz. This is because of a limitation in the MP3 format itself which is very difficult to circumvent with a real-time encoder.
- Ogg Vorbis: If you record at 44.1 kHz or 48 kHz (48 kHz recommended) and set the quality to higher than 5, your frequency limit will increase. At the highest quality setting 9 the frequency response goes to over 19 kHz.
Conclusion:
Lossy compression is always a combination of compromises. It would be technically possible to create an encoder that would give a frequency response upto 20 kHz even with low bitrates, particularly with Ogg Vorbis. But for real speech and music data it would actually sound worse than an encoder that removes some part of the higher audio spectrum because then there would be less bits left to encode in the more important lower audio spectrum.
In a nutshell:
Don't play the numbers game with compressed formats. Listen to the sound with proper headphones or a good stereo system instead!
Good signatures never die. They just fade away.