Sound card

Sound Card

A Sound Blaster Live! Value card, a typical (circa 2000) PCI sound card.
Connects to

Motherboard via one of:

Line in or out: via one of:

Microphone via one of:

  • TRS connector
  • PIN connector
Common manufacturers Creative Labs (and subsidiary E-mu Systems)
Realtek
C-Media
M-Audio
Turtle Beach
ASUS

A sound card (also known as an audio card) is an internal computer expansion card that facilitates the input and output of audio signals to and from a computer under control of computer programs. The term sound card is also applied to external audio interfaces that use software to generate sound, as opposed to using hardware inside the PC. Typical uses of sound cards include providing the audio component for multimedia applications such as music composition, editing video or audio, presentation, education and entertainment (games) and video projection. Many computers have sound capabilities built in, while others require additional expansion cards to provide for audio capability.

Contents

General characteristics

Sound cards usually feature a digital-to-analog converter (DAC), which converts recorded or generated digital data into an analog format. The output signal is connected to an amplifier, headphones, or external device using standard interconnects, such as a TRS connector or an RCA connector. If the number and size of connectors is too large for the space on the backplate the connectors will be off-board, typically using a breakout box, or an auxiliary backplate. More advanced cards usually include more than one sound chip to provide for higher data rates and multiple simultaneous functionality, for example digital production of synthesized sounds (usually for real-time generation of music and sound effects using minimal data and CPU time).

Digital sound reproduction is usually done with multichannel DACs, which are capable of simultaneous digital samples at different pitches and volumes and application of real-time effects, like filtering or distortion. Multichannel digital sound playback can also be used for music synthesis, when used with a compliance, and even multiple-channel emulation. This approach has become common as manufacturers seek simpler and lower-cost sound cards.

Most sound cards have a line in connector for an input signal from a cassette tape or other sound source that has higher voltage levels than a microphone. The sound card digitizes this signal and stores it (under control of appropriate matching computer software) on the computer's hard disk for storage, editing, or further processing. Another common external connector is the microphone connector, for signals from a microphone or other low-level input device. Input through a microphone jack can be used, for example, by speech recognition or voice over IP applications.

Sound channels and polyphony

An important sound card characteristic is polyphony, which refers to its ability to process and output multiple independent voices or sounds simultaneously. These distinct channels are seen as the number of audio outputs, which may correspond to a speaker configuration such as 2.0 (stereo), 2.1 (stereo and sub woofer), 5.1 (surround), or other configuration. Sometimes, the terms voice and channel are used interchangeably to indicate the degree of polyphony, not the output speaker configuration.

For example, many older sound chips could accommodate three voices, but only one audio channel (i.e., a single mono output) for output, requiring all voices to be mixed together. Later cards, such as the AdLib sound card, had a 9-voice polyphony combined in 1 mono output channel.

For some years, most PC sound cards have had multiple FM synthesis voices (typically 9 or 16) which were usually used for MIDI music. The full capabilities of advanced cards aren't often completely used; only one (mono) or two (stereo) voice(s) and channel(s) are usually dedicated to playback of digital sound samples, and playing back more than one digital sound sample usually requires a software downmix at a fixed sampling rate. Modern low-cost integrated soundcards (i.e., those built into motherboards) such as audio codecs like those meeting the AC'97 standard and even some lower-cost expansion sound cards still work this way. These devices may provide more than two sound output channels (typically 5.1 or 7.1 surround sound), but they usually have no actual hardware polyphony for either sound effects or MIDI reproduction – these tasks are performed entirely in software. This is similar to the way inexpensive softmodems perform modem tasks in software rather than in hardware.

Also, in the early days of wavetable synthesis, some sound card manufacturers advertised polyphony solely on the MIDI capabilities alone. In this case, the card's output channel is irrelevant (and typically, the card is only capable of two channels of digital sound). Instead, the polyphony measurement solely applies to the amount of MIDI instruments the sound card is capable of producing at one given time.

Today, a sound card providing actual hardware polyphony, regardless of the number of output channels, is typically referred to as a "hardware audio accelerator", although actual voice polyphony is not the sole (or even a necessary) prerequisite, with other aspects such as hardware acceleration of 3D sound, positional audio and real-time DSP effects being more important.

Since digital sound playback has become available and provided better performance than synthesis, modern soundcards with hardware polyphony don't actually use DACs with as many channels as voices. Instead, they perform voice mixing and effects processing in hardware (eventually performing digital filtering and conversions to and from the frequency domain for applying certain effects) inside a dedicated DSP. The final playback stage is performed by an external (in reference to the DSP chip(s)) DAC with significantly fewer channels than voices (e.g., 8 channels for 7.1 audio, which can be divided among 32, 64 or even 128 voices).

Color codes

Connectors on the sound cards are colour coded as per the PC System Design Guide. They will also have symbols with arrows, holes and soundwaves that are associated with each jack position, the meaning of each is given below:

Colour Function Connector symbol
  Pink Analog microphone audio input. 3.5 mm TRS A microphone
  Light blue Analog line level audio input. 3.5 mm TRS An arrow going into a circle
  Lime green Analog line level audio output for the main stereo signal (front speakers or headphones). 3.5 mm TRS Arrow going out one side of a circle into a wave
  Brown/Dark Analog line level audio output for a special panning,'Right-to-left speaker'. 3.5 mm TRS
  Black Analog line level audio output for surround speakers, typically rear stereo. 3.5 mm TRS
  Orange Analog line level audio output for center channel speaker and subwoofer 3.5 mm TRS
  Gold/Grey Game port / MIDI 15 pin D Arrow going out both sides into waves

History of sound cards for the IBM PC architecture

Sound cards for computers compatible with the IBM PC were very uncommon until 1988, which left the single internal PC speaker as the only way early PC software could produce sound and music. The speaker hardware was typically limited to square waves, which fit the common nickname of "beeper". The resulting sound was generally described as "beeps and boops". Several companies, most notably Access Software, developed techniques for digital sound reproduction over the PC speaker; the resulting audio, while baldly functional, suffered from distorted output and low volume, and usually required all other processing to be stopped while sounds were played. Other home computer models of the 1980s included hardware support for digital sound playback, or music synthesis (or both), leaving the IBM PC at a disadvantage to them when it came to multimedia applications such as music composition or gaming.

It is important to note that the initial design and marketing focuses of sound cards for the IBM PC platform were not based on gaming, but rather on specific audio applications such as music composition (AdLib Personal Music System, Creative Music System, IBM Music Feature Card) or on speech synthesis (Digispeech DS201, Covox Speech Thing, Street Electronics Echo). Not until Sierra and other game companies became involved in 1988 was there a switch toward gaming.

Hardware manufacturers

One of the first manufacturers of sound cards for the IBM PC was AdLib, who produced a card based on the Yamaha YM3812 sound chip, also known as the OPL2. The AdLib had two modes: A 9-voice mode where each voice could be fully programmed, and a less frequently used "percussion" mode with 3 regular voices producing 5 independent percussion-only voices for a total of 11. (The percussion mode was considered inflexible by most developers; it was used mostly by AdLib's own composition software.)

Creative Labs also marketed a sound card about the same time called the Creative Music System. Although the C/MS had twelve voices to AdLib's nine, and was a stereo card while the AdLib was mono, the basic technology behind it was based on the Philips SAA 1099 chip which was essentially a square-wave generator. It sounded much like twelve simultaneous PC speakers would have, and failed to sell well, even after Creative renamed it the Game Blaster a year later, and marketed it through Radio Shack in the US. The Game Blaster retailed for under $100 and included the hit game Silpheed.

A large change in the IBM PC compatible sound card market happened with Creative Labs' introduced the Sound Blaster card. The Sound Blaster cloned the AdLib, and added a sound coprocessor for recording and play back of digital audio (likely to have been an Intel microcontroller relabeled by Creative). It was incorrectly called a "DSP" (to suggest it was a digital signal processor), a game port for adding a joystick, and capability to interface to MIDI equipment (using the game port and a special cable). With more features at nearly the same price, and compatibility as well, most buyers chose the Sound Blaster. It eventually outsold the AdLib and dominated the market.

The Sound Blaster line of cards, together with the first inexpensive CD-ROM drives and evolving video technology, ushered in a new era of multimedia computer applications that could play back CD audio, add recorded dialogue to video games, or even reproduce full motion video (albeit at much lower resolutions and quality in early days). The widespread decision to support the Sound Blaster design in multimedia and entertainment titles meant that future sound cards such as Media Vision's Pro Audio Spectrum and the Gravis Ultrasound had to be Sound Blaster compatible if they were to sell well. Until the early 2000s (by which the AC'97 audio standard became more widespread and eventually usurped the SoundBlaster as a standard due to its low cost and integration into many motherboards), Sound Blaster compatibility is a standard that many other sound cards still support to maintain compatibility with many games and applications released.

Industry adoption

When game company Sierra On-Line opted to support add-on music hardware (instead of built-in hardware such as the PC speaker and built-in sound capabilities of the IBM PCjr and Tandy 1000), what could be done with sound and music on the IBM PC changed dramatically. Two of the companies Sierra partnered with were Roland and Adlib, opting to produce in-game music for King's Quest 4 that supported the Roland MT-32 and Adlib Music Synthesizer. The MT-32 had superior output quality, due in part to its method of sound synthesis as well as built-in reverb. Since it was the most sophisticated synthesizer they supported, Sierra chose to use most of the MT-32's custom features and unconventional instrument patches, producing background sound effects (e.g., chirping birds, clopping horse hooves, etc.) before the Sound Blaster brought playing real audio clips to the PC entertainment world. Many game companies also supported the MT-32, but supported the Adlib card as an alternative because of the latter's higher market base. The adoption of the MT-32 led the way for the creation of the MPU-401/Roland Sound Canvas and General MIDI standards as the most common means of playing in-game music until the mid-1990s.

Feature evolution

Early ISA bus soundcards were half-duplex, meaning they couldn't record and play digitized sound simultaneously, mostly due to inferior card hardware (e.g., DSPs). Later, ISA cards like the SoundBlaster AWE series and Plug-and-play Soundblaster clones eventually became full-duplex and supported simultaneous recording and playback, but at the expense of using up two IRQ and DMA channels instead of one, making them no different from having two half-duplex sound cards in terms of configuration. Towards the end of the ISA bus' life, ISA soundcards started taking advantage of IRQ sharing, thus reducing the IRQs needed to one, but still needed two DMA channels. Many PCI bus cards do not have these limitations and are mostly full-duplex. It should also be noted that many modern PCI bus cards also do not require free DMA channels to operate.

Also, throughout the years, soundcards have evolved in terms of digital audio sampling rate (starting from 8-bit 11.025 kHz, to 32-bit, 192 kHz that the latest solutions support). Along the way, some cards started offering wavetable synthesis, which provides superior MIDI synthesis quality relative to the earlier OPL-based solutions, which uses FM-synthesis. Also, some higher end cards started having their own RAM and processor for user-definable sound samples and MIDI instruments as well as to offload audio processing from the CPU.

For years, soundcards had only one or two channels of digital sound (most notably the Sound Blaster series and their compatibles) with the exception of the E-MU card family, which had hardware support for up to 32 independent channels of digital audio. Early games and MOD-players needing more channels than a card could support had to resort to mixing multiple channels in software. Even today, the tendency is still to mix multiple sound streams in software, except in products specifically intended for gamers or professional musicians, with a sensible difference in price from "software based" products. Also, in the early era of wavetable synthesis, soundcard companies would also sometimes boast about the card's polyphony capabilities in terms of MIDI synthesis. In this case polyphony solely refers to the amount of MIDI notes the card is capable of synthesizing simultaneously at one given time and not the amount of digital audio streams the card is capable of handling.

In regards to physical sound output, the number of physical sound channels has also increased. The first soundcard solutions were mono. Stereo sound was introduced in the early 90s, and quadraphonic sound came in 1989. This was shortly followed by 5.1 channel audio. The latest soundcards support up to 8 physical audio channels in the 7.1 speaker setup.

Crippling of features

Most new soundcards no longer have the audio loopback device commonly called "Stereo Mix"/"Wave out mix"/"Mono Mix"/"What U Hear" that was once very prevalent and that allows users to digitally record speaker output to the microphone input. Many users suspect the RIAA is responsible for colluding with or pressuring computer and soundcard manufacturers to disable this and other features because of their ability to be used for copyright infringement (although many legitimate uses exist for this feature), but no proof of this currently exists. However, virtually no other answers exist as to why computer and soundcard manufacturers have been discontinuing this feature. No notice or information is usually given to consumers of the exclusion or inclusion of the feature when purchasing or in specifications. Manufacturers like Lenovo fail to implement the chipset feature in hardware, while other manufacturers disable the driver from supporting it which can be fixed with driver updates (as in the case of Dell).

Professional soundcards (audio interfaces)

Professional soundcards are special soundcards optimized for low-latency multichannel sound recording and playback, including studio-grade fidelity. Their drivers usually follow the Audio Stream Input Output protocol for use with professional sound engineering and music software, although ASIO drivers are also available for a range of consumer-grade soundcards.

Professional soundcards are usually described as "audio interfaces", and sometimes have the form of external rack-mountable units using USB, FireWire, or an optical interface, to offer sufficient data rates. The emphasis in these products is, in general, on multiple input and output connectors, direct hardware support for multiple input and output sound channels, as well as higher sampling rates and fidelity as compared to the usual consumer soundcard. In that respect, their role and intended purpose is more similar to a specialized multi-channel data recorder and real-time audio mixer and processor, roles which are possible only to a limited degree with typical consumer soundcards.

On the other hand, certain features of consumer soundcards such as support for environmental audio extensions (EAX), optimization for hardware acceleration in video games, or real-time ambience effects are secondary, nonexistent or even undesirable in professional soundcards, and as such audio interfaces are not recommended for the typical home user.

The typical "consumer-grade" soundcard is intended for generic home, office, and entertainment purposes with an emphasis on playback and casual use, rather than catering to the needs of audio professionals. In response to this, Steinberg (the creators of audio recording and sequencing software, Cubase and Nuendo) developed a protocol that specified the handling of multiple audio inputs and outputs.

In general, consumer grade soundcards impose several restrictions and inconveniences that would be unacceptable to an audio professional. One of a modern soundcard's purposes is to provide an AD/DA converter (analog to digital/digital to analog). However, in professional applications, there is usually a need for enhanced recording (analog to digital) conversion capabilities.

One of the limitations of consumer soundcards is their comparatively large sampling latency; this is the time it takes for the AD Converter to complete conversion of a sound sample and transfer it to the computer's main memory.

Consumer soundcards are also limited in the effective sampling rates and bit depths they can actually manage (compare analog versus digital sound) and have lower numbers of less flexible input channels: professional studio recording use typically requires more than the two channels that consumer soundcards provide, and more accessible connectors, unlike the variable mixture of internal—and sometimes virtual—and external connectors found in consumer-grade soundcards.

Sound devices other than expansion cards

Integrated sound hardware on PC motherboards

In 1984, the first IBM PCjr had only a rudimentary 3-voice sound synthesis chip (the SN76489) which was capable of generating three square-wave tones with variable amplitude, and a pseudo white noise channel that could generate primitive percussion sounds. The Tandy 1000, initially a clone of the PCjr, duplicated this functionality, with the Tandy TL/SL/RL models adding digital sound recording/playback capabilities.

In the late 1990s, many computer manufacturers began to replace plug-in soundcards with a "codec" chip (actually a combined audio AD/DA-converter) integrated into the motherboard. Many of these used Intel's AC'97 specification. Others used inexpensive ACR slot accessory cards.

From the mid 2000s most motherboards were manufactured with integrated "real" (non-codec) soundcards, usually in the form of a custom chipset providing something akin to full Sound Blaster compatibility. This saves an expansion slot while providing the user with (relatively) high-quality sound.

Integrated sound on other platforms

Various non-IBM PC compatible computers, such as early home computers like the Commodore C64 and Amiga, NEC's PC-88 and PC-98, Fujitsu's FM-7 and FM Towns, the MSX, Apple's Macintosh, and workstations from manufacturers like Sun, have had their own motherboard integrated sound devices. In some cases, most notably in those of the Amiga, C64, PC-88, PC-98, MSX, FM-7, and FM towns, they provide very advanced capabilities (as of the time of manufacture), in others they are only minimal capabilities. Some of these platforms have also had sound cards designed for their bus architectures that cannot be used in a standard PC.

Several Japanese computer platforms, including the PC-88, PC-98, MSX, and FM-7, featured built-in FM synthesis sound from Yamaha by the mid-1980s. By 1989, the FM Towns computer platform featured built-in PCM sample-based sound and supported the CD-ROM format.[1]

The custom sound chip on Amiga, named Paula, had four digital sound channels (2 for the left speaker and 2 for the right) with 8 bit resolution (although with patches, 14/15bit was accomplishable at the cost of high CPU usage) for each channel and a 6 bit volume control per channel. Sound Play back on Amiga was done by reading directly from the chip-RAM without using the main CPU.

Sound cards on other platforms

The earliest known soundcard used by computers was the Gooch Synthetic Woodwind, A music device for PLATO terminals, and is widely hailed as the precursor to sound cards and MIDI. It was invented in 1972.

The earliest FM synthesis sound boards were manufactured by Yamaha for several Japanese computer platforms in the early 1980s, including the NEC PC-88, PC-98, and FM-7. In 1989, PCM sample-based synthesis was featured with the FM Towns computer platform.[1] MSX computers also relied on sound cards to produce better quality audio. The card, known as Moonsound, uses a Yamaha OPL4 sound chip. Prior to the Moonsound, there were also soundcards called MSX Music and MSX Audio, which uses OPL2 and OPL3 chipsets, for the system.

While many of Apple's machines come with on-board sound capabilities, their bestselling Apple II series suffered from a lack of more than minimal sound devices, all but the last model containing only a beeper that was even more limited than the one in the PC. To get around the problem, the Sweet Micro Systems company developed the Mockingboard (a name-play on mockingbird), which was essentially a sound card for the Apple II. Early Mockingboard models ranged from 3 voices in mono, while some later designs were 6 voices in stereo. Some software supported use of two Mockingboard cards which allowed 12 voice music and sound. A 12 voice, single card clone of the Mockingboard called the Phasor was also made by Applied Engineering. In late 2005 a company called ReactiveMicro.com produced a 6 voice clone called the Mockingboard v1 and also has plans to clone the Phasor and produce a hybrid card which will be user selectable between Mockingboard and Phasor modes plus support both the SC-01 or SC-02 speech synthesizers.

USB sound cards

USB sound "cards" are mostly external boxes that plug into the computer via USB. They are sometimes called audio "interfaces" rather than sound-cards, however, this is misleading, since an "audio interface" is a term also used to describe the interface between a computer's sound-card and an external device, e.g., a standard audio socket. And thus, a USB audio interface may describe a device allowing a computer which has a sound-card, yet lacks a standard audio socket, to be connected to an external device which requires such a socket, via its USB socket.

The USB specification defines a standard interface, the USB audio device class, allowing a single driver to work with the various USB sound devices and interfaces on the market.

Cards meeting the USB 1.1 specification have sufficient data transfer capacity to support high quality sound operation if their circuit design permits. However, USB 1.1 data throughput allows for concurrent use of a limited number of channels and/or limited sampling frequency and/or limited bit depth. For example 2 channels in and 2 channels out at 48 kHz/16 bit, or 2 channels out and no input at 96 kHz/24-bit. For a higher number of channels and/or digital signal parameters, USB 2.0 or higher is needed. While it is possible to pass compressed audio with more channels at higher bitrate on USB 1.1 (for example, a Sound Blaster Extigy is capable of 5.1 audio at 48 kHz/16 bit output with no input by means of an AC3 stream through USB 1.1), such systems are usually proprietary and not fully supported outside of their intended operating systems.

Other outboard sound devices

USB sound cards are far from the first external devices allowing a computer to record or synthesize sound. For example, devices such as the Covox Speech Thing were attached to the parallel port of an IBM PC and fed 6- or 8-bit PCM sample data to produce audio. Also, many types of professional soundcards (audio interfaces) have the form of an external FireWire or USB unit, usually for convenience and improved fidelity.

Sound cards using the PCMCIA cardbus interface were popular in the early days of portable computing when laptops and notebooks did not have onboard sound. Even today, while rare, these cardbus audio solutions are still used in some setups in which the onboard sound solution of the notebook or laptop is not up to par with the owners' expectations or requirements, and are particularly targeted at mobile DJs, with units providing separated outputs usually allow both playback and monitoring from one system.

Driver architecture

To use a sound card, the operating system (OS) typically requires a specific device driver. This is a low-level program that handles the data connections between the physical hardware and the operating system. Some operating systems include the drivers for some or all cards available, in other cases the drivers are supplied with the card itself, or are available for download.

See also

References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

External links