Jump to content

Sound card mixer: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
first attempt to cleanup this article, based on the mixing scheme in Figure 17 of the AC'97 spec (see reference)
Line 7: Line 7:


== Mixing scheme ==
== Mixing scheme ==
The following schematic shows how a sound card's mixer manipulates sound from different sources:
The following schematic shows how a sound card's sound from different sources:
[[Image:soundcard_mixing_schema.png|frame|center]]
[[Image:soundcard_mixing_schema.png|frame|center]]

A more accurate depiction of the mixing scheme used in AC'97 compatible sound cards can be seen in [http://download.intel.com/support/motherboards/desktop/sb/ac97_r23.pdf Figure 17 of the AC'97 spec].


== Typical input channels and controls ==
== Typical input channels and controls ==

Revision as of 14:08, 22 December 2007

A sound card mixer is the analog part of a sound card that routes and mixes sound signals. This circuit receives inputs from both external connectors and the sound card's digital-to-analog converters. It selects or mutes, amplifies (with variable gain) these signals, adds then together, and finally routes the result to both external output connectors and the sound card's analog-to-digital converters. Different mixing schemes are in use, but the ones implemented in most IBM-PC compatible computers today are variants of a scheme defined in Intel's AC '97 Audio Component Specification.[1]

Mixer controls

Sound card mixer controls are provided through the GUI interface in the computer's operating system. On most desktop environments, the mixer can be accessed via a Volume icon in the system tray.

Mixer controls are similar to that of a mixing console. They consist of volume sliders representing each individual source, accompanied by balance and mute controls. Most interfaces provide a method of switching between playback (output) sources and recording (input) sources. Additional hardware or software may add other effects such as low-pass filters and distortion.

Mixing scheme

The following schematic shows how a greatly simplified example of how some sound card's mixers manipulate sound from different sources:

A more accurate depiction of the mixing scheme used in AC'97 compatible sound cards can be seen in Figure 17 of the AC'97 spec.

Typical input channels and controls

Each of the following signal sources has its own gain and mute control in a typical mixer scheme:

ControlchannelsControlled source
Wave / PCM stereo Audio signal generated by the CPU via the sound card's digital-to-analog converter. (This includes audio produced by games, MP3 or WAV players, but also some software playing a CD-DA through the CPU, such as, Windows Media Player or Media Player Classic, as well as TV tuner cards that use the CPU for decoding audio.)
MIDI/SW Synth stereo Audio signal generated by a synthesizer chip (often described as “MIDI device”) or digital signal processor on the soundcard.
CD playback stereo Audio signal received from the analog CD input of the mixer, which is usually connected to the analog audio output of a CD drive.
Microphone mono Audio signal received through one of the (typically two, switchable) analog microphone inputs, one of which is connected to the external microphone jack. An optional 20 decibel (10× voltage) amplifier can be activated for this input in most mixers.
Line in/Aux stereo Audio signal received through the LINE or AUX input of the mixer. One of these is connected to an external jack and can be used to connect a HiFi amplifier, tuner, iPod, television, etc.
PC speaker mono Some soundcards provide an input for the (very crude) audio signal that the Programmable Interval Timer of an IBM PC generates for the PC speaker.
SPDIF mono Digital interface, uncommon in the PC world

Typical output channels and controls

Each of the following signal destinations has its own gain and mute control in a typical mixer scheme:

ControlchannelsControlled source
Line out stereo Audio signal provided to the LINE OUT jack of a sound card. This can be connected to headphones or a HiFi amplifier, etc.
Aux out stereo Audio signal provided to the AUX OUT connection of the mixer. Not all sound cards provide this mixer channel on an external connector.
Mono out / PC speaker mono Audio signal provided to the MONO connection of the mixer. Some PCs connect this signal to an internal PC speaker.

Typical record controls

In a typical AC’97 style mixer scheme, the analog-to-digital converters that allow the CPU to receive audio signal can either be connected directly to one of each of the inputs, or they can be connected to the same summation result that the mixer can provide via the line, aux and mono analog outputs. Therefore, in addition to the above input and output gain controls, a mixer also provides a number of controls for selecting the recording source. The result of this selection is again subject to a mute and gain control before it is digitized.

Some tips

  • Convert MIDI into WAV: Play a MIDI file with SW synth or Wave (depending on the playing software) controls at high volume. In record control select mono mix or stereo mix (depends of whether you want a mono or stereo output). The sound can be recorded using any recording software like Windows Sound Recorder.
    In order to avoid interference, all other controls in play control should be muted. If you want to hear the sound while being recorded, care should be taken to avoid feedback, either by lowering speaker volume or repositioning the microphone.
  • Record streaming sound (i.e. sound from an internet-radio station): As this sound is controlled through wave control, you have to set this volume in the play control (maybe it's convenient to mute all others, except volume control if you want to hear it meanwhile) In record play select stereo mix or mono mix.
    In this way you can also record any other internal sound of your PC, i.e. voices of TTS engines, sounds of the operating system, ...
  • A sound coupling can be easily produced by setting microphone and volume control controls to high volume, especially if the microphone's mic boost setting is turned on.

References

  1. ^ AC'97 Component Specification, Revision 2.3, Intel Corporation, April 2002. Figure 17: AC ’97 mixer functional diagram (section 5.5, page 43)