troperville

tools

toys

Wiki Headlines
It's time for the second TV Tropes Halloween Avatar Contest, theme: cute monsters! Details and voting here.

main index

Narrative

Genre

Media

Topical Tropes

Other Categories

TV Tropes Org
random
Gaming Audio
Gaming audio has evolved a great deal from the first machines to feature it in the 1970s.

In the beginning: Beeps and clicks

On early machines, there either wasn't any sound hardware, or the sound hardware was extremely simple, being able to click a speaker or play simple tones. This was also the default sound system on IBM PC compatibles for many years, as well as on early Apple computers like the Apple II, IIe and IIc (The Apple IIGS had PCM sample playback capabilities courtesy of an Esoniq PCM Codec).

Programmable sound generators

One step up from simple beeps and clicks was the programmable sound generator (PSG), a set of oscillators on a chip that could be programmed in real time. The simplest ones, like the Texas Instruments 76496 and GI/Microchip 8910, had 3 square-wave channels and 1 white noise channel, all with independent volume controls. At the other end of the spectrum was the Commodore 64's SID, a full 3-channel hybrid analog synthesizer with sine, square and triangle wave oscillators, filters and white noise. The Atari ST also used a PSG audio chip, though later versions also included a PCM audio codec for rudimentary speech and sound effects support. Also, sound cards released for the Apple II were PSG-based. Many PSGs could be fooled into playing back sampled audio by feeding PCM values into the volume control registers thousands of times a second, as heard on some Game Gear games by "Say-Gah!".

FM synthesizers

The next step up would be FM synthesizers. FM synthesizers work by combining tones of various frequencies together in real time, with up to 4 oscillators working together to make a note. The technique works best for percussion and woodwind instruments, and tends to sound "plasticky" or "metallic" if asked to recreate a whole orchestra. It's excellent for making strange noises and sound effects.

When FM synthesis was popular, Yamaha owned the patents, so pretty much all arcade and console games that used FM used a Yamaha FM synthesizer chip to do the work. The Sega Genesis had a Yamaha FM+ TI PSG chip inside.

Additionally, the Yamaha OPL chips were also found on the MoonSound, MSX Music and MSX Sound expansion cards for the MSX, and the popular AdLib sound card for PCs (and became the defacto standard until usurped by the SoundBlaster in the early 90s), as well as in most SoundBlaster PC sound cards and clones to provide AdLib compatibility.

Sample playback and PCM (Wavetable) synthesis

The crown of gaming audio, Pulse-Code Modulation systems work from actual samples of instruments, making their sound much richer. Since they can reproduce practically any sound, all sorts of odd effects are possible. PCM engines typically don't do any mathematical synthesis on their own, preferring instead to mix samples together at various speeds and volumes; however, high-end samplers used in music composition can filter the sound and do all sorts of other tricks. DSPs may be present to add effects like echo and reverb.

The first popular gaming platforms to use a PCM Synthesis chipset were the Amiga, SNES, and believe it or not, Pinball systems, mainly those that used Midway's DCS PCM Synthesis board (which also saw use in Mortal Kombat and Revolution X cabinets, since it not only reproduces instruments more faithfully, but one of the many tricks PCM synthesis could do was transparently loop fully-voiced music tracks, which is an important feature of the latter game). The NES and Sega Genesis both had rudimentary PCM support, but this was mainly used for pre-recorded voices, sound effects, and drums, (and in actuality worked by manipulating the PSG in the case of the NES. The modified OPL2 chip (called an OPN2) used by the Genesis has a PCM codec mode, but the Genesis can also resort to manipulating the PSG to play back PCM sounds if needed). Pretty much every system introduced since uses PCM.

On PCs, PCM started to take over from FM-only cards in the early 1990s, when the first sound cards with samplers on-board and audio codecs appeared. On the low end were "hybrids" which used PCM sample playback for sound effects and speech, but FM synthesis for music. Most SoundBlaster cards except the AWE, Live!, Audigy and X-Fi series of cards were these, as were the numerous SoundBlaster "clones".

On the higher end we have cards that were full PCM Wavetable Synthesis devices. These used audio samples provided by the user for music synthesis, but offered rudimentary PCM sample playback on a separate codec for sound effects and speech as well. These cards were later joined by Aureal's Vortex and NVidia's SoundStorm, which used the same DLS format as Microsoft's DirectMusic software Synthesizer. However on the PC end, developers were slow to take advantage of these cards and full support only appeared in the mid-90s despite the first of them appearing as early as 1991. As a matter of fact, fans of such cards blame the poor uptake on the fact that most major publishing houses chose to not support such cards when porting games to the PC. However, support for such cards appeared very early on with publishers dedicated to the PC platform like Apogee Software, Epic Games and ID Software.

     List of Wavetable Synthesis cards 
  • Gravis UltraSound series: The only card other than the SoundBlaster 16 to receive clones, and the first wavetable card to enter the market. Original card was true wavetable only, but uses tricks to emulate a PCM codec and OPL-2 for SoundBlaster and AdLib compatibility. Later models included a real PCM codec as well for sample playback, but SoundBlaster and AdLib compatibility is still emulated. The Gravis UltraSound Plug 'n Play actually use a wavetable part called the InterWave from AMD, which is also used by several clone makers.
  • Creative E-Mu series: True wavetable only. Not SoundBlaster compatible. Understandable because these are professional cards and not meant for consumer use.
  • Creative SoundBlaster AWE/Live!/Audigy/X-Fi series: true wavetable based on the E-Mu (AWE=E-Mu 8K, Live=E-Mu 10K1, Audigy=E-Mu 10K2, X-Fi=E-Mu 20K1 for PCI and E-Mu 20K2 for PC Ie) with additional codec and OPL-3 for compatibility with SoundBlaster-16 and AdLib. Later cards drop the OPL-3 part. Interestingly, the AWE cards come with onboard RAM, but the Live! and Audigy cards ditched onboard RAM in favor of using the main system memory. The X-Fi cards go full circle by once again including onboard RAM. Interestingly, the X-Fi Platinum's E-Mu 20K2 includes an onboard ARM7TDMI co-processor to help push data to the E-Mu 20K2 CPU.
  • Trident 4DWave series: True wavetable card, comes with a codec for SoundBlaster compatibility. AdLib compatibility however is emulated and the calls are routed to the wavetable card. Uses a rare and uncommon sample library format, and shares memory with the system.
  • Turtle Beach Topaz and Maui: True wavetable card with a PCM codec for sample playback. Uses a rare and uncommon sample library format.
  • Aureal Vortex series
  • NVidia SoundStorm: Advertised as a "DirectSound accelerator", the chip includes a wavetable synthesizer that uses Microsoft's DLS DirectMusic sample library format.

As CPU power increased, especially after the Pentium and PowerPC processors became popular (around 1995), PC games began using software PCM engines to play instruments and sound effects.

Red-Book CD audio

Finally, once games started to ship on optical media, prerecorded audio became common. The audio could be played from the CD just like any other song, while the game data lived in memory. This technology actually developed in tandem with PCM Sample playback and competed with PCM Synthesis, and is sometimes used together with the former (for example, in the PC port of Wipe Out and Quake II, where the music is played from the music CD partition of the disc while the sound effects are played through PCM sample playback). A nice side-effect of this would be that the game CD is its own soundtrack CD and the soundtrack can be enjoyed on any regular CD player, and it also adds an extra layer of complexity for Copy Protection in that multi-partition game discs are difficult to duplicate reliably. Additionally, the music sounds just as good as PCM sampled music. On the downside, however, looping music tends to be difficult if not impossible to implement- as evident in Sonic CD on the Sega CD, where the music had a short fade-out and fade-in section when repeating.

This was one of the main draws of the Apple Macintosh in the early 90s, when educational and adventure games alike started using these for music as an alternative to FM synthesis.

See also Video Games, Pac Man Fever.

Digital DistributionHow Video Game Specs WorkMIDI
Game GearAdministrivia/Useful Notes Pages in MainGeek

random
TV Tropes by TV Tropes Foundation, LLC is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available from thestaff@tvtropes.org.
Privacy Policy
12774
1