15.3. Players

Linux offers a variety of programs for playing audio CDs and various music formats such as MP3, OGG, and WAV files. Where possible, the supported formats of the players are listed.

15.3.1. amaroK

As well as Kscd, which is a pure audio CD player, KDE comes with the amaroK media player, which handles various audio formats, such as MP3 and OGG, and plays the streaming audio broadcast by radio stations on the Internet. The program handles all file types supported by the sound server acting as a back-end — currently aRts or GStreamer.

amaroK enables you to put together playlists very easily. Compile playlists with a few drag and drop actions. Playlists can be created using a number of different views, simplifying management of music titles. You can also drag and drop files from Konqueror. Save playlists in m3u or pls format, so you can share them with any other players using these formats.

After starting amaroK for the first time, the program displays two windows. The smaller window contains the usual controls of a media player and the other shows the playlist. See Figure 15.4. “The amaroK Media Player”. Both windows can be hidden as needed. To display or hide the playlist, click PL in the player window. To hide the player window itself, set the program's preferences accordingly. When the player window is hidden, the control elements are displayed at the bottom of the playlist window. To open the amaroK application menu, right-click anywhere in the player window or select the menu button in the bottom right of the playlist window. The menu includes a help entry, which describes the program's numerous features.

Figure 15.4. The amaroK Media Player

The amaroK Media Player

15.3.1.1. Playlists

The right part of the playlist window contains the currently-loaded playlist. Play titles listed in it in the order of your choice. Initially, the list is empty, so you need to create one. The best way to do this is by using the sidebar to the left of the window. To the very left, there are a number of tabs that can be used to open different views. From each of these views, drag individual titles or entire directories and drop them into the playlist to include them in the list. The following is a description of the function of each tab.

File Browser

This is the top tab, which opens a file browser. This corresponds to the standard KDE file selector dialog with the usual controls to navigate the file system. Enter a URL or directory directly into the text input field. From the contents displayed, drag elements to the playlist to include them in it.

Collection

Use this view to manage and display your personal collection of titles. The collection view may include files from different locations. Selecting Actions+Configure Folders opens a dialog with which to include all your music folders in a list. To scan all these directories, select Actions+Start Scan. The result is displayed as a tree structure. Using Primary and Secondary, organize the two top branches of the tree according to the criteria Album, Artist, Genre, and Year. Once the tree view is ready, find titles simply by typing them into the input field. The selection in the tree view jumps to the first matching entry automatically as you type.

Context

With this tab, view information about your collection and various data related to the current artist. For example, the view informs you about your favorite titles, the newest titles added to the collection, and other details.

Search

This tab opens a dialog in which to perform a recursive search for a file in a given directory. To do so, enter a text string for the title and the location at which to start the search. Then select Search and wait for the results to appear in the lower section of the window.

Streams

This view manages Internet radio streams. After making sure that you are connected to the Internet, select Fetch Stream Information. amaroK includes an entry for every reachable stream in the list below. Then drag any entry from this list and drop it into the playlist to listen to the broadcast.

15.3.1.2. Effects

Select the FX button in the player window or use the amaroK application menu to open a dialog in which to enable and configure several sound effects, such as an equalizer, the stereo balance, and a hall effect. Select the desired effects and adjust the settings, if available, for each of them.

15.3.1.3. Visualizations

amaroK comes with a number of visualizations that display a graphical effect for the music played. Native amaroK visualizations are displayed in the player window. Cycle through the various available display modes by clicking the animation.

In addition to the above, amaroK also supports the visualization plug-ins of the XMMS media player. To use these, first install the xmms-plugins package then select Visualizations from the amaroK menu. This opens a window listing the available plug-ins. XMMS plug-ins are always displayed in an extra window. In some cases, there is an option to display them in fullscreen mode. For some plug-ins, you may not get a smooth visual effect unless you use a 3D-accelerated graphics card.

15.3.2. XMMS

XMMS is another full-featured media player with robust audio support, so that pops or breaks during playback should be very rare. The application is easy to use. The button for displaying the menu is located in the upper left corner of the program window.

Figure 15.5. XMMS with Equalizer, OpenGL Spectrum Analyzer, and Infinity Plug-Ins

XMMS with Equalizer, OpenGL Spectrum Analyzer, and Infinity Plug-Ins

Select the output plug-in module with Options+Preferences+Audio I/O Plugins. If the xmms-kde package is installed, the aRts sound server can be configured here.

[Important]Important

XMMS automatically redirects its output to the Disk Writer Plugin if it is not able to find a configured sound card. In this case, the played files are written to the hard disk as WAV files. The time display then runs faster than when playing the output through a sound card.

Various visualization plug-ins can be started through Options+Preferences+Visualization Plugins. If you have a graphics card with 3D acceleration, select an application such as the OpenGL spectrum analyzer. If the xmms-plugins package is installed, try the Infinity plug-in.

To the left under the menu button, there are five buttons with different letters on them. These buttons allow quick access to additional menus, dialog boxes, and configurations. The playlist can be opened with the PL button and the equalizer can be activated with the EQ button.

15.3.3. kscd — Audio CD Player

kscd is an easy-to-use audio CD player. It can be accessed from the SUSE menu under Multimedia+CD+KsCD. To access the configuration menu, click the tool icon. kscd can be configured to search an online CDDB server for the name and track names of a CD.

Figure 15.6. The kscd User Interface

The kscd User Interface

15.3.4. The Audio CD Player WorkMan

WorkMan offers a simple user interface with an abundance of functions. It is ideal for those who prefer a CD player without the KDE look and feel.

15.3.5. GNOME CD Player Applet

This is a simple applet that can be added to a GNOME panel. Add it by right-clicking the panel and selecting Add to Panel+Multimedia+CD Player.