For the orignal post writer
@gregorio
Quantisation error is not avoidable in real life digital audio sampling. It's even distrubtion is possible by dither which reduces It's side effect, the quantisation noise, overall. But the assigning presicion is still reduced. Want to see from first hand? Try downsapmling the PCM audio file to 1 bits as you said. You hear quantisation noise of course. But what I'm mentioning is; 2^1=2, you have only 2 values to assign the sample points. The tones (asside from quantisation noise) on the file either will be copmletely silient (assigned to zero), or they will be at the same loudness. This proves that there is an error, and higher the bit depth=less the error will be.
As an engineer in diffrent field, I would be ashamed after a situation like this, instead of making word tricks and still trying to look like I am right. If somebody come and asked me about calculating the square root of 5, with 100 digits afther to decimal
I would not say "I use industry standart calculator which is only capable of calculating 8 digits after the decimal." or "Why do I need to calculate for that amount of presicion?".
I am the engineer and I am expected to provide a solution to the asker or simply give way. I would say:
1) A good, simple, short, I DON'T KNOW. (Seems like somebody can't say this words and try a bit hard to know everything) + You might find the answer or useful infromation from this source or making a search on this ..... site. (Recommendation)
2) Here you go:
http://www.ttmath.org/online_calculator (the exact thing they need)
3) There is no good third option and rambling and talk about a little diffrent topic to show how knowledge they got as some people do, which is basically time and focus loss. I haven't done that on purpose and will try to not do it in the future as an engineer.
Also I would not make jokes about the asker, because I know there is a possibility of the asker is working on some kind of digital coding that I don't or even can't think of, or a field I know and in that field is requeired to calculate with very high presicion. And I actually do know for air to air missles 16 digits after the decimal is not enough even in 1km (short) shots you have potential to miss the target which is in some kind of turn by 1.5 meter from just the growth of the mathematical summing of the error.
Even If someone is really asking an insane number of presicion, I would try to show my interest in a good way like "wow that's super high! How/Why will you do with it !?". Not making fun of him/her.
Next time, please don't try to mask the capability of your knowledge by going 3rd option and making some word tricks. Cause some people will understand what you are doing and they will have a judgement about your quality.
3. Going back to point #1. In your computer, get a 16bit signal generator and generate your sine wave, then write it to a 16bit wav file. Where's the quantisation error going to come from? How is there going to be any sort of error at all? The audio file can store anything you can generate, PERFECTLY! Maybe you want to use say a 64bit float signal generator though, in which case you would need to dither the output to a 16bit file to get infinite resolution. You can't say "no dither" because by doing so you are breaking the rules of digital audio which make it linear in the first place. It's like saying, what's the performance of an electric car if you don't give it any electricity?
That's exactly can't saying the 1) "I don't know what will happen If the dither is not used" option but going the 3rd option and blaming me for asking a stupid question like "what's the performance of an electric car if you don't give it any electricity?". Really.
If the humanity were able to put and has process power to extract infinite amount of information when requested, instantly from a just a digital audio file, we wouldn't need supercomputers for simulation, we wouldn't need terabites of hdd, copmanies wouldn't invest millions of dollars to more calculation capable processing devices, and there would not be prizes for the calculation of the first xxx digits of the mathematical term "pi", for a spesific time and so on..
You always backed your thoughts with the Nyquist-Shannon theorem.
Digital audio is not 100% equal to Nyquist-Shannon theorem. It's logic and operating principle is the same. The diffrence is that you (or should I say
we?, lol) have predefined values for taken sapmles in computer world and also for digital audio. And these values are simply not perfect. Endless presicion values will requeire infinite amount of data. Just a tone's first 10 Million digits after decimal will cost you 10Million bytes which is about 10 megabytes which already exceeds the 1 second wav file size.
......
I am both happy and sad for the explosion of you and your 7 year old original post which you always directed as an religious book, even in diffrent sites. I, as a person who don't have considerable expereince in electrical or signal processing or strong claim in digital audio like many here, am copmletely happy that my logic discerned you and some professional looking sources (eg:xiph's) explanations and many media and tutors on various sites are repeating what these sources say over and over again, can't be the whole story and there needs to be some imperfections other than dynamic range with bit depth and limitations for the taken sample point's requenciny presicion to some extent, with all the pressure from you and this fomus head-fi forum's various members who mostly identify themselves as real life audio engineers/tutors or people who gave their many years on digital and analog audio and understood almost all the concept by heart.
I am sad that how all this years, this flawed, insuffcient explanation is standed strong from the most of the very best of these forum members (except
@spruce music from what I saw while I was here, and there might be some others I didn't saw or realised, not including them) who supposed to have tremendous amount of knowledge, and how this flawed explanation faked many people many people.
IMPORTANT If you haven't read my older posts I am not talking about wheather the 16 bit audio is not enough for digital audio or not, I am talking about It's not perfection and It's explanation on the original post and in the writers statements)