44 KHz (CD) not enough !? (Nyquist etc.), plethora of distortion frequencies?
44 KHz (CD) not enough !? (Nyquist etc.), plethora of distortion frequencies?
May 11 2003, 17:40
Joined: 11-May 03
Member No.: 6542
Remarks and conclusions added May 12 2003 - 1:55 PM, and edited May 14 2003 - 08:35 AM :
My dubious claims unfortunately had a very short life span due to the very successful enlightenment efforts of tigre, 2Bdecided, KikeG and mrosscook.
In short: I failed to come up with evidence that cd quality (I mean 44.1 KHz digital sampling) is somehow problematic. It basically was a story of using the wrong tools, jumping to the wrong conclusions, and not having enough of a clue about signal processing.
Nevertheless, I tried again to make less daunting claims that the 44.1 KHz digital sampling rate is not enough to represent all signals less than 22.05 KHz correctly.
And again my claims had a very short life span. This time due to further enlightenment efforts by DonP, 2Bdecided, KikeG, mrosscook and SikkeK.
The conclusion: Arguing against the technical specification of cd quality (44.1 KHz/16 bit) should not be tried by someone that severely lacks in signal processing clue (like me).
If the cd sound quality is perceived as suboptimal, it may have more to do with poor recording, poor mastering, and suboptimal reproduction equipment (i.e. cd-player and sound system/headphones).
What one still could try are listening tests:
Such tests would need to be done with one and the same high end hardware for all signals and all tests (preferably with 192 KHz resolution, with 20-24 bit, and with a DAC that is perfectly shielded and outside of any system that is rich of EM signals, like a computer, and has a near perfect analog circuitry). And when testing the 192 KHz signal against the 44.1 KHz signal, the latter would need to be a digitally downsampled version (to 44.1 KHz), which was upsampled to 192 KHz again. Using the best available algorithms (Cool Edit may do a resonable job here).
And still, asking the test persons for audible artifacts would most likely not work at all. It might be more rewarding letting them rate how the music "felt" (e.g.: more or less "relaxing" for music that should be "relaxing" but is rich in high frequency content nonetheless). This could be done in a way that is scientifically sound and statistically relevant.
My original post:
I have to admit: This 44.1 KHz topic more or less has been discussed to death already. It also seems likely that the following problem has been discussed on Hydrogenaudio several times as well (but I had no luck with the search function).
The 44.1 KHz sampling rate (CD quality) seems to create an infinite number of "mirrors" at its harmonics. These in turn create a complex set of distortion frequencies for every frequency in the analog source.
The strongest "mirror" is at at 22.05 KHz (44.1 KHz/2). But the problem can easily be demonstrated with the one at 11025 Hz (44.1 KHz/4) as well: if one creates a sine signal of 11025-1000 = 10025 Hz in a sound editor (e.g. Audacity, using a 44.1 KHz sampling rate) and plots the spectrum, then two additional frequencies are shown: one at 1000 Hz and one at 22050-1000 = 21050 Hz. More distortion signals can be seen if the FFT resolution is increased above 1024.
The general problem seems to be that a sampling frequency of 44.1 KHz does not guarantee that frequencies below 22.05 KHz are represented faithfully (as is mostly believed). Instead it probably more or less only guarantees that in the resulting complex signal the source frequency is significantly stronger than the numerous distortion signals.
Of course, the remaining question is if these distortions are audible (they resemble pretty much amplitude modulation). I cannot really test this with 44.1 KHz since I donīt have a 96 KHz soundcard. But the example with 11024 Hz surely looks rather disturbing (when looking at the waveform) and doesnīt sound very clean as well.
Did anyone do any respective (blind) listening tests?
The following example is very audible: When using a sampling frequency of only 2000 Hz (instead of 44100 Hz) and creating a sine frequency of 750 Hz (well below the Nyquist limit of 1000 Hz) then the result sounds pretty ugly (itīs some kind of mixed signal of 750 Hz, 250 Hz and 1250 Hz).
This post has been edited by zephirus: May 19 2003, 15:49
May 14 2003, 14:04
Joined: 1-October 01
Member No.: 137
A continuous signal of 21800 Hz (with 44.1 KHz sampling, -1.5 dB, 0.5s duration) looks very much amplitude modulated in Cool Edit.
This is because the visual interpolation CE does is not perfect, at high frequencies it doesn't interpolate well enough.
An ideal 192 KHz upsampling filter will create a correct (not modulated) signal regardless (the Cool Edit upsampling does a pretty good job here as well in highest quality mode).
That would be a more proper interpolation, but takes some time to compute well.
But now (before upsampling) letīs silence 0.0000-0.0017 and 0.0023-0.0100. What remains is a small snippet between 0.0017 and 0.0023 (with silence around it).
Without the context around this short snippet, no filter on earth (or in the mathematical domain) should be able to know if that short snippet is meant as a low amplitude signal at around 21800 Hz or a full amplitude signal at exactly 21800 Hz (the upsampling filter will go for the wrong interpretation, and "smears" the signal as well).
This snippet has an only, non-ambiguous, interpretation, given that it doesn't contain any frequencies over 22050 Hz: the one that the accurate upsampling filter does. You say that it smears the signal: well, that is a consecuence of assuming that there are no components over 22050 Hz. If there were no smearing, the signal would have components over 22050 Hz, and it would be impossible to sample and reproduce it properly with a sampling frequency of just 44100 Hz, because it would violate Nyquist theorem.
So it seems: The Nyquist theorem only works for long, continuous signals, but not for short ones. Which are distorted well below the Nyquist frequency. Even with mathematically perfect filters.
No, it is not because of Nyquist theorem, it works always without exception. The problem is on the signal itself: any time-limited signal has infinite frequency components, and the reverse: any frequency-limited signal has infinite duration, from a mathematical point of view only infinitely periodic signals have finite frequency components.
Nyquist theorem says that in order to perfectly sample a signal, it has to be frequency-limited to below fs/2. That signal, in theory, will have infinite duration, it will "ring" forever (infinitely periodic) if it is totally frequency-limited. In real world there are no perfect filters, and since the frequency limiting is not perfect, the time-ringing is limited too: that is the cause of temporal smearing. The sharper (and more ideal) the reconstruction filter, the more time smearing you will get.
This is a problem that happens no matter how high the sampling rate; it is just a question of degrees. How much smearing do you consider acceptable, taking into account human hearing? (smearing=frequency limiting). What is the acceptable duration, amplitude and frequency of the ringing due to the frequency-limiting, taking into account human hearing? (the ringing is of a frequency equal to the filter cutoff, and the duration and amplitude depend on the sharpness of the filter and the amplitude of the signal at the cutoff frequency).
I think that these issues, using a 44.1 KHz sampling rate and typical DAC filters, are not a problem considering human hearing limitations.
Edit: it seems that 2Bdecided was faster than me, but it's basically same explanation.
Edit: some minor modifications done in order to make it more understandable.
This post has been edited by KikeG: May 14 2003, 14:15
|Lo-Fi Version||Time is now: 28th November 2015 - 03:17|