L06: Audio Encoding- Quantisation Flashcards

1
Q

What is the dynamic range?

A
  • Ratio between the largest and smallest differentiable signals

Example: Dynamic Range of Human Hearing
- Min= 0dB
- Max = 140dB
- Dynamic Range = 140 – 0 = 140dB
- A difference in intensity of: 10,000,000 times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a microphone?

A
  • Used to record audio
  • A microphone is a transducer (converts energy from one form to another)
  • A microphone converts changes in pressure to induce electrical voltage changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do microphones work?

A

Microphones have a diaphragm which moves a coil due to changes in pressure.
We can use a magnets to measure the pressure changes due to the mechanical movement of the coil and convert them into voltage changes (analog).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do we need to do with the readings from a microphone?

A
  • As the voltage changes are analog, we need to sample them
  • We must avoid aliasing (sample at least double the maximum frequency of the signal)
  • We then need to quantise these samples
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens if the music we are sampling has components above the initially set maximum frequency?

A
  • Any frequency above that will introduce aliasing and will create undesired frequency components
  • We need to filter these frequencies before we record them
  • We can filter them by sampling at a much higher bandwidth and then apply a low pass filter on the frequencies we dont want (to remove the aliased signal)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do we get when we convert an analog signal into a digital signal?

A

A series of bit (binary) values
Every x bits will represent a single sample

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do we quantise a signal?

A

We take each sampled value and round it to the nearest unit of measurement for our signal. We want to know the maximum and minimum signals we are getting to use all the available space in the quantisation space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does quantisation introduce?

A

Quantisation adds noise
- This is the change in value from the actual sample and the quantised value (which has been rounded)
- Every digital signal that was originally analog will have noise, but it is not necessarily perceivable
- A greater sampling rate means less noise but higher bit rate

Original signal = Quantised signal + Quantisation noise
Quantised signal = Original signal - Quantisation noise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some sampling standards?

A

CD quality: 16 bits
-> 2^16 levels to quantise over
Telephone: 8 bits
-> 256 levels to quantise over
-> i.e. 256 levels of loudness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What can we hear when we quantise a 16 bit signal down to an 8 bit signal?

A
  • We can hear a hissing noise (quantisation noise)
  • Quality decreases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does the change in amplitude affect the quantisation noise?

A
  • The quantisation noise depends on the dynamic range and fluctuation
  • The signal to noise ratio is not uniform across amplitudes
  • Lower amplitude signals have a lower signal to noise ratio
  • Higher amplitude signals have a higher signal to noise ratio
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can we maintain a uniform signal to noise ratio?

A
  • To maintain a uniform signal to noise ratio, we can compensate by increasing the quantisation levels for low amplitudes or changes in amplitudes (flat signals), and decreasing the quantisation levels for high amplitudes and high changes in amplitudes (steep signals).
  • We no longer want to spread the quantised values out equally -> depends on amplitude
  • There is a higher density of quantisation steps at lower amplitudes and a lower density at higher amplitudes above.
  • This is a type of compression- we compress the mapping of the original signal to an encoded signal.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is companding?

A

Compression + Expanding

These curves tell us how to convert a linear signal into an encoded signal. Tells us how to differentiate signals and compress them such that we have more steps and reduced quantisation noise for lower amplitude signals. This will give us more of a uniform quantisation noise at all different amplitude levels.

Changes the relative quantisation noise for each step, decreasing the signal to noise ratio for lower amplitudes (but potentially increasing it for higher amplitudes)

There are standards for this compression
- Algorithms: A-law (Europe), μ-law (US, Japan)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the sub-processes in the conversion of an analog signal to a digital signal?

A

Capture
Convert
1. Filter
2. Sample
3. Quantise
Process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What can you not avoid when you process a signal?

A

Quantised noise
We can reduce it by increasing the bits/sample

How well did you know this?
1
Not at all
2
3
4
5
Perfectly