Nepedia
Back to Discover
Fluent Reader
💻

Sampling (signal processing)

technology Maturity 11-13 Next article →

Have you ever wondered how a computer remembers a song? Real sound is a continuous wave that moves through the air.

Signal Sampling
Signal Sampling

To store this sound, we must use a process called sampling. Sampling turns a smooth, continuous signal into a series of separate points. These points are called samples. Each sample represents the value of the signal at one specific moment. This allows machines to turn natural waves into digital data we can save and play back.

How does this work step by step? First, a device called a sampler measures the signal at regular gaps. This gap is called the sampling interval. The number of samples taken every second is the sampling rate. We measure this rate in hertz, or Hz. For example, 48 kHz means the machine takes 48,000 samples every second. To turn these points back into a smooth wave, we use reconstruction. This uses math and a reconstruction filter to rebuild the original signal.

Bandpass sampling depiction
Bandpass sampling depiction

Scientists have studied these rules for a long time. C. E. Shannon wrote a famous paper about this in 1949. He helped explain how we can communicate even when there is noise. There is also a very important rule called the Nyquist limit. This limit tells us how fast we must sample to keep the sound true. If we sample slower than this limit, we get an error called aliasing. Aliasing happens when high frequencies are misinterpreted as something else. To prevent this, engineers use an anti-aliasing filter.

There are many different sampling rates used in our world today. For example, an audio CD uses a rate of 44.1 kHz. Professional video equipment often uses 48 kHz to work well with video frames. Some high-quality formats like Blu-ray or DVD-Audio use much higher rates, such as 96 kHz or 192 kHz. Even telephone systems use sampling, but they use a lower rate of 8,000 Hz. This is enough for human speech but might not sound perfect. Each rate is chosen for a specific job or device.

You can see sampling in almost all your favorite gadgets. When you record music, your device uses an analog-to-digital converter, or ADC. This device turns the electrical waves from a microphone into digital numbers. When you listen to music, a digital-to-analog converter, or DAC, does the opposite. It turns those numbers back into the waves that move the air. It is like turning a smooth drawing into a series of dots, and then using those dots to draw the picture again. This makes our digital world of music and video possible.

436 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Signal Sampling.svg
Signal Sampling.svg
File:Bandpass sampling depiction.svg
Bandpass sampling depiction.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.