How Sound Cards Work

A sound card allows a computer to create and record real, high-quality sound. See morecomputer hardware pictures.
Photo courtesy HowStuffWorks Shopper

Before the invention of the sound card, aPCcould make one sound - a beep. Although the computer could change the beep's frequency and duration, it couldn't change the volume or create other sounds.

At first, the beep acted primarily as a signal or a warning. Later, developers created music for the earliest PC games using beeps of different pitches and lengths. This music was not particularly realistic -- you can hear samples from some of these soundtracks atCrossfire Designs.

Advertisement

Fortunately, computers' sound capabilities increased greatly in the 1980s, when several manufacturers introduced add-on cards dedicated to controllingsound. Now, a computer with a sound card can do far more than just beep. It can produce 3-D audio for games or surround sound playback forDVDs. It can also capture and record sound from external sources.

In this article, you'll learn how a sound card allows a computer to create and record real, high-quality sound.

Advertisement

Analog vs. Digital

A sound card must translate between sound waves and bits and bytes .

Sounds and computer data are fundamentally different. Sounds are analog - they are made of waves that travel through matter. People hear sounds when these waves physically vibrate theireardrums. Computers, however, communicate digitally, using electrical impulses that represent 0s and 1s. Like agraphics card, a sound card translates between a computer's digital information and the outside world's analog information.

Sound is made of waves that travel through a medium, such as air or water.

Advertisement

The most basic sound card is a printed circuit board that uses four components to translateanalog and digitalinformation:

  • Ananalog-to-digitalconverter (ADC)
  • Adigital-to-analogconverter (DAC)
  • AnISA or PCI interfaceto connect the card to themotherboard
  • Input and output connections for a microphone andspeakers

Instead of separate ADCs and DACs, some sound cards use a coder/decoder chip, also called aCODEC, which performs both functions.

In the next section, we'll explore the analog-to-digital and digital-to-analog conversions that take place on the sound card.

Advertisement

ADCs and DACs

An analog-to-digital converter measures sound waves at frequent intervals.

Imagine using yourcomputerto record yourself talking. First, you speak into amicrophonethat you have plugged into your sound card. The ADC translates the analog waves of your voice into digital data that the computer can understand. To do this, it samples, or digitizes, the sound by taking precise measurements of the wave at frequent intervals.

The number of measurements per second, called thesampling rate, is measured in kHz. The faster a card'ssampling rate, the more accurate its reconstructed wave is.

Advertisement

If you were to play your recording back through thespeakers, the DAC would perform the same basic steps in reverse. With accurate measurements and a fast sampling rate, the restored analog signal can be nearly identical to the original sound wave.

Even high sampling rates, however, cause some reduction in sound quality. The physical process of moving sound through wires can also causedistortion. Manufacturers use two measurements to describe this reduction in sound quality:

  • 总谐波失真(THD), expressed as a percentage
  • Signal to Noise Ratio(SNR), measured in decibels

For both THD and SNR, smaller values indicate better quality. Some cards also support digital input, allowing people to store digital recordings without converting them to an analog format.

Next, we'll look at the other components commonly found on sound cards and what they do.

Advertisement

Other Sound Card Components

A PCI sound card

In addition to the basic components needed for sound processing, many sound cards include additional hardware or input/output connections, including:

Digital Signal Processor (DSP): Like a graphics processing unit (GPU), a DSP is a specializedmicroprocessor. It takes some of the workload off of the computer's CPU by performing calculations for analog and digital conversion. DSPs can process multiple sounds, or channels, simultaneously. Sound cards that do not have their own DSP use the CPU for processing.Memory: As with agraphics card, a sound card can use its own内存to provide faster data processing.Input and Output Connections: Most sound cards have, at the very minimum, connections for amicrophoneandspeakers. Some include so many input and output connections that they have abreakout box, which often mounts in one of the drive bays, to house them. These connections include:

Advertisement

  • Multiple speaker connections for 3-D andsurround sound
  • Sony/Philips Digital Interface (S/PDIF), a file transfer protocol for audio data. It uses either coaxial or optical connections for input to and output from the sound card.
  • Musical Instrument Digital Interface (MIDI), used to connect synthesizers or other electronic instruments to their computers.
  • FireWireandUSBconnections, which connect digital audio or video recorders to the sound card

Game designers use3-D soundto provide fast-paced, dynamic sound that changes based on a player's position in the game. In addition to using sound from different directions, this technology allows realistic recreations of sound traveling around or through obstacles.Surround soundalso uses sound from several directions, but the sound does not change based on the listener's actions. Surround sound is common inhome theatersystems.

Like agraphics card, a sound card uses software to help it communicate with applications and with the rest of the computer. This software includes the card's drivers, which allow the card to communicate with theoperating system. It also includesapplication program interfaces(api),设置的规则或标准make it easier for software to communicate with the card. The most common APIs include:

  • Microsoft: DirectSound
  • Creative: Environmental Audio Extensions (EAX) and Open AL
  • Sensaura: MacroFX
  • QSound Labs: QSo
  • Next, we'll look at integratedmotherboardand external sound control options.

Advertisement

Other Options for Sound Control

External sound controller
Photo courtesy HowStuffWorks Shopper

Not every computer has a sound card. Some motherboards feature integrated audio support instead. Amotherboardthat has its own DSP can process multiple data streams. It may also support 3-D positional and Dolbysurround sound. However, in spite of these features, most reviewers agree that separate sound cards provide better audio quality.

Laptops usually have integrated sound capabilities on their motherboards or small sound cards. However, space and temperature control considerations make top-of-the-line internal cards impractical. So,laptopusers can purchase external sound controllers, which useUSBorFireWireconnections. These external modules can significantly improve laptop sound quality.

Advertisement

For more information on sound cards and related topics, check out the links on the following page.

Frequently Answered Questions

What is a sound card in music?
A sound card is a piece of computer hardware that allows a user to input and output audio signals. Sound cards are used in various electronic devices, including computers, smartphones, and tablets.
What is a sound card for PC?
A sound card is a piece of computer hardware that provides input and output of audio signals to and from a computer under control of computer programs.
What is sound card used for?
使用声卡to process digital audio signals. It can be used to record and playback sound and to add special effects to audio signals.

Lots More Information

Related HowStuffWorks Articles

More Great Links

Sources

  • Computer Hope: Sound Card ABCshttp://www.computerhope.com/help/sound.htm
  • PC World: Audio Nirvana http://www.pcworld.com/reviews/article/0,aid,113750,00.asp
  • Microsoft: Sound Card 101 http://www.microsoft.com/windowsxp/using/games/learnmore/soundcard101.mspx
  • Tom's Hardware Guide: Creative X-Fi: A New World of Sound http://www.tomshardware.com/consumer/20050818/index.html
  • Linux Sound How To http://www.djcj.org/LAU/guide/Sound-HOWTO-2.html
  • DAC-ADC http://www.gae.ucm.es/~padilla/extrawork/adc.html
  • The Tech Report http://techreport.com/reviews/2002q2/soundcards/index.x?pg=1
  • Extreme Tech: State of the Industry http://www.extremetech.com/article2/0,1697,1740269,00.asp
  • Extreme Tech: Creative Labs X-Fi http://www.extremetech.com/article2/0,1558,1850360,00.asp
  • Tom's Hardware Guide: Creative's X-Fi Sounds Fabulous http://www.tomshardware.com/consumer/20050705/index.html
  • Soundblaster http://www.soundblaster.com/

Advertisement

Loading...