✦ScienexySCIENCE KNOWLEDGE LIBRARY
Science reference · INFO-PHY-ACOU-177

Digital Audio and Sampling

Digital audio represents sound as a sequence of numerical samples taken from an analog signal at regular time intervals.

T_s = 1/f_s

Explanation

A fuller explanation is being developed. Verify this concept with cited sources before relying on it.

Variables

SymbolMeaning

T_s

Time interval between consecutive samples, measured in seconds (s).

f_s

Sampling frequency, measured in samples per second (Hz).

Example or application

A digital audio system sampling at 48,000 samples per second takes one sample approximately every 20.83 microseconds.

Text

Digital audio begins with an analog electrical signal that changes continuously with time. An analog-to-digital converter measures the signal at regular intervals and represents each measurement as a numerical sample. The number of samples taken per second is called the sampling frequency or sample rate. According to the Nyquist-Shannon sampling theorem, a band-limited signal can be reconstructed from its samples when the sampling frequency is greater than twice its highest frequency component, provided the required conditions are met. An anti-aliasing low-pass filter is used before sampling to limit frequencies that could cause aliasing. Digital audio systems store and process the resulting sample values using binary data.

Key Points

  • Digital audio stores a signal as numerical samples.

  • Sampling measures the signal at regular time intervals.

  • Sample rate is measured in samples per second.

  • The Nyquist condition relates sample rate to the highest signal frequency.

  • Anti-aliasing filtering limits unwanted high-frequency components before sampling.

  • Sampling and quantization are separate stages of analog-to-digital conversion.

Applications

  • Digital music recording.

  • Streaming audio.

  • Voice communication.

  • Audio editing and production.

  • Scientific sound measurement.

Common Mistakes

  • Confusing sample rate with bit depth.

  • Assuming the sample rate alone determines every aspect of audio quality.

  • Ignoring the need for anti-aliasing filtering.

  • Treating the Nyquist frequency as a guarantee of perfect reconstruction in every practical system.

Learning Outcomes

  • Explain how analog sound is represented digitally.

  • Define sampling frequency and sampling interval.

  • Describe the Nyquist-Shannon sampling condition.

  • Explain why anti-aliasing filters are used.

Practice Questions

QuestionAnswer

What is sampling in digital audio?

Measuring an analog signal at regular time intervals to create a sequence of numerical values.

What is the sampling interval at 48 kHz?

Approximately 20.83 microseconds.

Why is an anti-aliasing filter used?

To reduce frequency components above the intended sampling range that could produce aliasing.

Related Concepts

  • Nyquist-Shannon Sampling Theorem

  • Aliasing

  • Quantization

  • Bit Depth

  • Analog-to-Digital Conversion

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Principles of Digital Audio by Ken C. Pohlmann; Understanding Digital Signal Processing by Richard G. Lyons.

Suggest a correction or source · More in Acoustics