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.
|Starting the Mixer|
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 default KDE mixer application. It is integrated into the KDE panel as a small panel applet located in the system tray. Click the panel icon (a speaker) to control the volume of your speakers with a control slider. If you right-click the icon, the context menu of KMix appears. Selectto 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.
The GNOME volume control applet for the GNOME desktop can be 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 14.2, “The GNOME Volume Control” (↑Applications). 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 in
alsamixer can be run from the command line without the X environment, so is entirely controlled by keyboard shortcuts. An alsamixer window always consists of an information area and the volume bars of the devices with their respective names.
Select devices with → and ← or N and P. Use ↑ and ↓ or + and - to increase and decrease the volume. Control stereo channels independently, using Q, W, and E for increasing the volume and Z, X, and C for decreasing the volume. Use the number keys between 0 and 9 to change the absolute volume quickly. These correspond to 0 to 90% of full volume. Toggle between muted and unmuted state of any mixer control using M. A muted control has written below its name.
alsamixer has three different view modes: F3, F4, and F5 or toggle them using →|., , 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 using
The look and feel of mixer applications depend 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 also has an individual mute switch.
Other volumes, like, , , and , control the loop-back volume from the corresponding input to the main output. They do not influence the recording level, only the playback volumes.
For recording, turn on theswitch. 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 chooseand 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
Install the package
alsa-tools-gui in order to use
Theof 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 thesliders 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 .