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.
Advantages of digital:
Wider dynamic range, best analog systems 80dB range, 16 bit digital:96dB, 24 bit digital: 144dB.
Increased resistance to noise: analog systems susceptible to crackling noise and hum from electromagnetic frequencies (EMF), thermal noise from analog components generate hiss. Digital is immune to this type of noise.
Better copy ability: analog copies degrade by at least 3dB per copy. With digital audio, unlimited generations of perfect copies can be made.
Error correction: CDs and DATs have built in error correction, cross-interleaved reed-Solomon coding (CIRC), 25% of a CD is used for error correction.
Durability:with analog each play causes microscopic particles of polyvinylcloride (vinyl) or oxide (tape) to be scraped away. Non-linear editing.
Disadvantages of digital:
Bit rates, how many bits are used each sound to represent the signal, digital audio is expressed in kbps.
Sampling rate x resolution x no. Of channels =bit rate
Digital mixing consoles:
They sample multichannel audio, process it, mix it and route it out of the console, all digitally and in real time.
What does sample rate determine?
The maximum frequency component that can be faithfully recorded and reproduced.
What does bit depth determine?
It determines the dynamic range of the recording.
What is the connection between sample rate/bit depth and file size?
The greater the sample rate and bit depth the greater the file size.
When does clipping occur?
When we drive the input signals of our microphones about the input operating range of the equipment.
What is the result of clipping?
Harmonic distortion.