Repair News Articles from the Tech Industry
November 11, 2008
Computer speakers and Sound Cards
Computer speakers, or multimedia speakers, are external speakers, commonly equipped with a low-power internal amplifier. The standard audio connection is a 3.5mm (1/8 inch) stereo jack plug often colour-coded lime green (following the PC 99 standard) for computer sound cards.A plug and socket for a two-wire (signal and ground) coaxial cable that is widely used to connect analog audio and video components. Also called a "phono connector," rows of RCA sockets are found on the backs of stereo amplifiers and numerous A/V products. The prong is 1/8" thick by 5/16" long. A few use an RCA connector for input. There are also USB speakers which are powered from the 5 volts at 200 milliamps provided by the USB port, allowing about half a watt of output power.
Computer speakers range widely in quality and in price. The computer speakers typically packaged with computer systems are small plastic boxes with mediocre sound quality. Some of the slightly better computer speakers have equalization features such as bass and treble controls, improving their sound quality somewhat.
The internal amplifiers require an external power source, known as a 'wall-wart'. More sophisticated computer speakers may have a 'subwoofer' unit, to enhance bass output, and these units usually include the power amplifiers both for the bass speaker, and the small 'satellite' speakers.
Some computer displays have rather basic speakers built-in.
Laptops come with integrated speakers. Unfortunately the tight restriction on space inevitable in laptops means these speakers unavoidably produce low-quality sound.
For some users, a lead connecting computer sound output to an existing stereo system is practical. This normally yields much better results than small low-cost computer speakers.
A sound card (also known as an audio card) is a computer expansion card that facilitates the input and output of audio signals to/from a computer under control of computer programs. 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). Many computers have sound capabilities built in, while others require additional expansion cards to provide for audio capability.
Close-up of a sound card PCB, showing electrolytic capacitors, SMT capacitors and resistors, and a YAC512 two-channel 16-bit DAC.
Sound cards usually feature a digital-to-analog converter, that 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, eg between digital sound production and 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 multi-channel DACs, which are capable of multiple digital samples simultaneously at different pitches and volumes, or optionally applying real-time effects like filtering or distortion. Multi-channel digital sound playback can also be used for music synthesis when used with a digitized instrument bank, typically a small amount of ROM or Flash memory containing samples corresponding to MIDI instruments. A contrasting way to synthesize sound on a PC uses "audio codecs", which rely heavily on software for music synthesis, MIDI compliance, and even multiple-channel emulation. This approach has become common as manufacturers seek to simplify the design and the cost of sound cards.
Most sound cards have a line in connector for signal from a cassette tape recorder or similar sound source. 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 use by a microphone or other low level input device. Input through a microphone jack can then be used by speech recognition software or for Voice over IP applications.
Sound channels and polyphony
8-channel digital-to-analog converter Cirrus Logic CS4382 placed on Sound Blaster X-Fi Fatal1ty.
Another important characteristic of sound cards is polyphony, which is more than one distinct voice or sound playable simultaneously and independently, and the number of simultaneous channels. These are intended as the number of distinct electrical audio outputs, which may correspond to a speaker configuration such as 2.0 (stereo), 2.1 (stereo and sub woofer), 5.1 etc. Sometimes, the terms "voices" and "channels" 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 (ie, a single mono output) for output, requiring all voices to be mixed together. More recent cards, such as the AdLib sound card, have a 9 voice polyphony and 1 mono channel as a combined output.
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 (ie, those built into motherboards) such as audio codecs like those meeting the AC'97 standard and even some budget expansion soundcards still work that way. They 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, but rather 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).