Table of Contents
Abstract
Linux includes a wide range of sound and multimedia applications. Some of these applications are part of one of the main desktop environments. With the applications described here, control the volume and balance of playback, play CDs and music files, and record and compress your own audio data.
Mixers provide a convenient means of controlling the volume and balance of the sound output and input of computers. The main difference between the various mixers is the outer appearance of the user interface. However, there are a number of mixers that are designed for specific hardware. One example is envy24control, a mixer for the Envy 24 sound chip. Another one is hdspmixer, which is for RME Hammerfall cards. From the mixers available, select the one that best suits your needs.
Generally, it is advisable to open a mixer application before opening other sound applications. Use the mixer to test and adjust the control settings for the input and output of the sound card.
KMix is the KDE mixer application. It is integrated into the KDE panel as a small panel applet located in the system tray. Click the panel icon to control the volume of your speakers with a control slider. If you right-click the icon, the context menu of KMix appears. Select
to switch off the sound output. The panel icon then changes its appearance. Clicking again unmutes the volume. To fine-tune your sound settings, select and configure , , and . Each of the devices featured there has its own context menu that is opened by a right-clicking the device icon. You can mute or hide each one of them separately.GMix, the volume control applet for the GNOME desktop, is integrated into the GNOME panel. Click the panel icon to control the volume of your speakers with a simple control slider. To switch off the sound output, right-click the icon and select Figure 13.2, “The GNOME Mixer Applet”. Each sound device has its own mixer tab.
. The volume control icon then changes its appearance. To unmute the sound output, right-click the icon again and select from the menu. Select to access the more advanced mixer features, shown inalsamixer can be run from the command line without the X environment, so is entirely controlled via keyboard shortcuts. An alsamixer window always consists of the following elements: a top row holding basic information on card and chip type, the selected view type, and the mixer item then the volume bars below the information area. Use and to scroll left or right if the controls cannot be displayed in one screen. The names of the controls appear below the controls and the currently selected control is colored in red. Toggle between muted and unmuted state of any mixer control using M. A muted control has written below its name. Any control that has capture (recording) capabilities has a red capture flag.
alsamixer has three different view modes: F3, F4, and F5.
, , and . By default, alsamixer is started in mode, displaying only those mixer controls relevant for playback (Master Volume, PCM, CD, etc.). displays only those controls used for recording. displays all controls available. Switch the view modes usingSelect channels with and or N and P. Use and or + and - to increase and decrease the volume. Stereo channels can be controlled independently, using Q, W, and E for increasing the volume and Z, X, and C for decreasing the volume. The number keys between 0 and 9 can be used to change the absolute volume quickly. These correspond to zero to ninety percent of full volume.
The look and feel of mixer applications depends on the type of sound card used. Some drivers, like SB Live!, have many controllable (tunable) mixer elements while the drivers for professional sound cards may have elements with totally different names.
Most of the PCI on-board sound chips are based on AC97 codec.
controls the main volume from the front speakers. , , and control the rear, center, and bass-boost speakers. Each of them has a mute switch. In addition to that, some boards have individual and volumes. The latter is used for the built-in speaker on some laptops.controls the internal volume level of digital WAVE playback. PCM is an acronym for Pulse Code Modulation, one of the digital signal formats. This control has also an individual mute switch.
Other volumes, like
, , , and , control the loopback volume from the corresponding input to the main output. They do not influence the recording level, only the playback volumes.For recording, turn on the
switch. This is the master recording switch. The volume is the input gain for recording. By default, this switch is set to zero. Choose a recording source like or . The recording source is exclusive, so you cannot choose two of them at the same time. is a special recording source. You can record the currently played signal from this source.Depending on the AC97 codec chip, special effects, like 3D or bass/treble, are available, too.
SoundBlaster Live! and SB Audigy1 have numerous mixer controls for their AC97 codec chip and DSP engine. In addition to the controls already described, they have
, , and volumes to control the internal signal routing and attenuation for PCM, WaveTable MIDI, and AC97 mixing. Keep the volume at 100% to hear all of them. SB Audigy2 (depending on the model) has less controls than SB Live, but still has and controls.The recording on SB Live is similar to on-board chip. You can choose
and as the additional recording source to record the played PCM and WaveTable signals.
envy24control is a mixer application for sound cards using the Envy24
(ice1712) chip. The flexibility of the Envy24 chip can result in varying
functionalities in different sound cards. The latest details on this sound
chip are available in
/usr/share/doc/packages/alsa-tools/envy24control
.
The
of envy24control shows the signal levels that can be mixed digitally in the sound card. The signals designated as are generated by applications that send PCM data to the sound card. The signals of the analog inputs are shown under . The inputs are shown to the right. Set the input and output levels of the analog channels under .Use the
sliders for digital mixing. The respective levels are displayed in the . For each output channel, the contains a row of radio buttons for selecting the desired channel source.Adjust the amplification for the analog-to-digital and digital-to-analog converters under
. Use the sliders for the output channels and the sliders for the input channels.The S/PDIF channel settings are made under
. The Envy24 chip reacts to volume changes with a delay that can be configured with .