Lecture 6-Clipping Flashcards
What’s the dynamic range of the human auditory system?
0-120dB
Each bit we tag on to a digital audio system adds… dB of dynamic range.
6dB
How much dynamic range do we get with 16-bits?
96dB
Is 96dB of dynamic range sufficient?
For most applications, such as domestic listening is plenty.
What ambient noise floor does a typical domestic living room have?
40dB
If we try to utilise the full dynamic range of an audio CD in such conditions: 40+96=136dB (beyond the threshold of pain!)
Typically having around 60dB of dynamic range is more than enough.
What are the two main instances that the importance of large bit depth comes into play?
Listening to the final mix in excellent acoustic conditions (even here 16-bit is good), performing non-linear audio processing, such as compression and limiting. In these circumstances we a need a large dynamic range=more bits.
If a sound is too loud what will occur?
Clipping
What does clipping happen?
The audio equipment can only handle a certain input voltage range.
Microphones change sound pressure into what?
Electrical signals.
If we were using a 16-bit ADC we have 65536 (2^16) different amplitude levels between +/- 5V.
The maximum input signal, i.e. A signal hitting +5V is represented by the 65536th amplitude level, which we refer to as 0dB the max value that we can have.
The reason it is 0dB is because our reference is 65536
So if we are at the max quantisation level of 65536, the output it:
Output level (dB)=20log10(65536/65536)=20log10(1)=0dB
This also works for the input voltage levels. Also assume our ADC only allows in signals in to 5V in amplitude. Then 5V is out ref for the electrical signals coming in. if the output of the mics hits 5V output level (dB)=20log10(signal voltage level/5)=20log10(5/5)=0dB
What happens if we go about the 2^16 quantisation level?
Clipping, digital audio cannot go above the maximum level. Sine waves will start to look like square waves. Distortion will be introduced.
In digital audio systems distortion is a very bad thing:
Results will be a lot of upper harmonics being generated that will make the sound nasty. Also harmonic distortion can also have other causes than just clipping.
All audio circuits create a very small amount of distortion i.e. They ever so slightly change the shape of the original input waveform.
We can measure distortion by putting in a pure tone into an audio system and seeing how well it reproduces the tone at the output. We then look at the spectrum of the output and see if there has been any nasty upper harmonics created. If so, the system has distorted the input wave.
Not all distortion sounds bad!
Analog values and tapes allow for soft-clipping, the distortion effects are not as harsh and are in fact psychoacoustically pleasant to listen to.