GoalExplain the difference between analogue and digital data and describe how a sound is digitised.
New words
analogue data · data that changes smoothly, such as sound, light or the hands of a clockdigital data · data stored as numbers, which in a computer are binary 1s and 0sdigitisation · changing analogue data into digital datasample · one measurement of an analogue signal, taken at one moment
Explanation
The real world is analogue. Sound, light and temperature change smoothly, and our eyes and ears collect them as analogue data. Computers can only store and process digital data, which is made of binary numbers. To digitise a sound, a microphone and a converter measure the sound wave again and again, many times a second. Each measurement is a sample, and it is stored as a binary number. To play the sound back, a converter turns the numbers into a wave again and a speaker makes the sound. More samples every second give a copy that is closer to the original, but they need more storage.
sound wave (analogue)→microphone and converter→numbers in binary (digital)→stored in the computer
Worked examples
A microphone measures a whistle many thousands of times a second. Here are just five samples from a tiny moment of the sound. The real wave is smooth, but the computer keeps only the numbers 3, 7, 9, 6 and 2.
Sample value
Binary
3
0011
6
0110
9
1001
12
1100
Each sample is a number, and the computer stores it in binary. Here are four sample values written in 4 binary digits, using the place values 8, 4, 2 and 1.
Analogue
Digital
a speedometer with a needle
a speedometer that shows 48 km/h
a thermometer with a liquid column
a thermometer that shows 21.5
a bathroom scale with a needle
a scale that shows 38.2 kg
Many everyday things come in an analogue form and a digital form. In the analogue form a position or a pointer shows the value. In the digital form we read a number.
Class activity
Sampling game (no computer): one player slowly raises and lowers a hand in a smooth wave, taking about ten seconds. Another player measures the hand height in centimetres with a ruler once every second and writes the numbers in a list. This list is digital data. A third player draws dots on squared paper from the list and joins them. Repeat the game but measure only every three seconds. Compare the two drawings with the real movement. Which copy is closer? What did you pay for the better copy? If you have a computer or tablet, ask an adult to help you record a few seconds of your voice.
Practice
1
Is each of these analogue or digital? (a) the sound of rain on a roof (b) a recording of the rain saved on a phone (c) a needle on a car’s fuel gauge (d) a step counter that shows 4512
A camera sensor measured the brightness of five dots along one line of a photo, on a scale from 0 to 15. Write the digital data as a list of numbers.
The list is 2, 9, 15, 11 and 4.
3
Write the 4-digit binary number for the sample value 10.
Sample value
Binary
5
0101
10
?
15
1111
10 = 8 + 2, so the binary number is 1010.
4
Why does a computer need a digital-to-analogue converter before sound goes to a speaker?
The sound is stored as numbers. A speaker needs a changing signal that makes the air vibrate, so the converter turns the numbers back into an analogue wave.