Introduction
Electronic circuits turn sound into digital information by measuring changes in air pressure and representing those measurements as numbers. A microphone first converts sound waves into a changing electrical signal. Other circuits prepare that signal, and an analog-to-digital converter samples it at regular intervals and assigns each sample a numerical value. The resulting data can be stored, edited, transmitted, or played back.
- From Sound Waves to an Electrical Signal
- Preparing the Signal for Conversion
- Sampling: Taking Measurements Over Time
- Quantization: Giving Each Sample a Number
- How the ADC Produces Binary Data
- Channels, Clipping, and Recording Quality
- What Happens After Conversion?
- A Simple Example: Recording a Spoken Sentence
- Conclusion
From Sound Waves to an Electrical Signal
Sound begins as a vibration that travels through a medium such as air. A speaker, musical instrument, or voice causes nearby air pressure to rise and fall in a pattern. Those pressure changes travel to a microphone, whose job is to turn them into an electrical signal that follows the sound’s changing pattern.
Inside a common microphone, a thin movable part called a diaphragm responds to changes in air pressure. Its movement is converted into a varying voltage by the microphone’s design. In a dynamic microphone, for example, a coil moves within a magnetic field. In a condenser microphone, movement changes the electrical conditions between closely spaced components. The details differ, but the result is an electrical signal that represents the sound over time.
At this stage, the signal is analog: it changes continuously rather than being limited to a set of separate numerical values. A low note generally produces slower repeating changes, while a high note produces faster ones. The signal’s size also varies, broadly corresponding to the sound’s strength at the microphone, though the microphone and surrounding conditions affect the relationship.
Preparing the Signal for Conversion
The signal from a microphone may be very small, so it usually passes through a preamplifier. This circuit increases the signal’s voltage to a level that later stages can handle. A preamplifier does not create new sound detail; it makes the existing electrical signal easier to process. If the amplification is excessive, the signal can exceed the circuit’s limits and become distorted.
Before conversion, circuits may also adjust the signal’s level or remove unwanted components. For instance, electrical interference, handling noise, or frequencies outside the intended recording range may need attention. In many devices, some of this preparation is performed by a dedicated audio chip or integrated into a larger circuit rather than by separate, visible components.
A crucial part of preparation is anti-aliasing filtering. This is a low-pass filter: it reduces frequencies above a chosen limit before the signal is sampled. Filtering matters because a digital converter cannot reliably distinguish every possible high-frequency input after sampling. Frequencies that are too high can appear in the digital result as misleading lower-frequency patterns, an effect called aliasing.
Sampling: Taking Measurements Over Time
An analog-to-digital converter, often shortened to ADC, measures the signal at regular time intervals. Each measurement is called a sample. The number of samples taken per second is the sample rate, measured in samples per second or hertz. A rate of 48,000 samples per second, for example, means the converter takes 48,000 measurements each second.
The sample rate determines how closely spaced the measurements are in time. More frequent samples can represent faster changes in the signal, provided the recording system’s filters and other components are suitable. The sampling principle requires the sample rate to be more than twice the highest frequency being represented. In practice, engineers allow room for filtering near the upper limit rather than treating that boundary as a simple target.
Sampling does not mean that the circuit records every instant of the original sound. Instead, it records a sequence of measurements. When digital audio is played back, a digital-to-analog converter and other playback circuits use those values to produce a changing electrical signal that can drive headphones or speakers. The brain hears the resulting pressure waves as sound.
Quantization: Giving Each Sample a Number
A sample is first a measured voltage, but digital systems need discrete values. The ADC therefore assigns the measurement to one of a limited number of numerical levels. This step is called quantization. Because the available levels are finite, a sample’s stored value may be slightly different from the exact voltage that was measured.
The number of bits used for each sample determines how many numerical levels are available. With more bits, the converter can distinguish more possible signal levels across its operating range. This is called bit depth. Greater bit depth can reduce quantization error and provide more room to represent quiet and loud parts of a recording, assuming the rest of the audio system is capable of making use of that precision.
Quantization is not the same as sampling. Sampling selects when measurements happen; quantization determines which digital value represents each measurement. Both are needed to convert a continuously changing signal into digital information.
How the ADC Produces Binary Data
Once the converter has chosen a numerical value for a sample, that value is represented using binary digits, or bits. A bit has one of two possible states, commonly written as 0 or 1. Groups of bits can represent many different numbers, so a stream of binary values can describe the sequence of audio samples.
For example, imagine a simple converter that can assign only a few possible values to the incoming signal. A quiet measurement might receive a low code, while a stronger measurement receives a higher one. Real audio converters use far more possible codes, but the basic idea is similar: measure the voltage, select a corresponding number, and express that number in binary.
The resulting data is not a miniature copy of the air vibration. It is a numerical description of the microphone signal at particular times. Software and hardware can interpret those numbers as audio because the samples are organized according to known settings, including sample rate, bit depth, and the number of audio channels.
Channels, Clipping, and Recording Quality
A mono recording uses one audio channel. Stereo uses two channels, often corresponding to left and right playback. Each channel has its own sequence of samples, so stereo audio requires data for both. More channels, as used in some surround or immersive formats, require additional sample streams and more storage or transmission capacity.
Clipping occurs when the incoming signal is too large for a circuit or converter to represent. The waveform is cut off at the system’s upper or lower limit, changing its shape and often making the sound harsh or distorted. Avoiding clipping requires suitable microphone placement and gain settings, along with enough headroom for sudden loud sounds.
Recording quality depends on the entire signal chain, not just the ADC. Microphone design, room acoustics, background noise, circuit quality, filtering, gain, and conversion settings all play a part. A high sample rate or bit depth cannot restore detail that was never captured, nor can it automatically remove noise or distortion introduced earlier.
What Happens After Conversion?
Digital audio can be stored as a file, processed by software, or sent across a network. Editing programs can adjust volume, combine tracks, or apply effects by operating on sample values. Audio may also be compressed to reduce file size. Some compression methods preserve the original sample data, while others discard selected information to make files smaller; the result depends on the method and settings.
When a device plays a recording, a digital-to-analog converter (DAC) turns the sample values back into an electrical signal. Output circuits then provide a signal suitable for headphones, speakers, or another audio connection. A speaker converts that electrical signal into diaphragm movement, which creates pressure changes in the air.
A Simple Example: Recording a Spoken Sentence
When someone speaks into a digital recorder, the voice creates changing pressure waves. The microphone turns those waves into a changing voltage, and a preamplifier raises the signal to a usable level. A filter limits frequencies that could cause sampling problems. The ADC then takes measurements at regular intervals, assigns each measurement a numerical value, and encodes the values as binary data.
The recorder saves that data with information needed to interpret it, such as the sample rate and channel arrangement. Later, playback circuitry converts the stored values into a changing electrical signal. Headphones or speakers turn that signal back into moving air. Each stage has a distinct role, which is why digital recording involves more than simply “turning sound into numbers.”
Conclusion
Electronic circuits convert sound into digital information through a sequence of steps: a microphone turns air-pressure changes into voltage, circuits prepare the signal, and an ADC samples and quantizes it. The resulting numbers are encoded in binary for storage or processing. Sample rate describes how often measurements occur, while bit depth describes how many numerical levels are available. Together with the microphone and other circuitry, these choices shape how accurately a system represents sound.

