The Ultimedia Services CD Player is a graphical interface similar to that of a home CD Player. The CD Player enables you to play audio CDs from your workstation's CD-ROM drive. There are two versions of the CD Player:
To learn more about the CD Player, see:
The UMS configuration file contains a stanza with three entries related to the CD Player application. You should change two of the entries, cd_device_path and audio_device_path, to match the hardware installed on your system. The third entry, master_settings_path, specifies the path to the UMS Master Settings application (which is used by the CD Player) and typically does not need to be changed. The default cd_player stanza is as follows:
cd_player: cd_device_path "/dev/rcd0" audio_device_path "/dev/baud0" master_settings_path "/usr/lpp/UMS/bin/master_settings"
The cd_device_path entry enables you to select the default CD-ROM device used by the CD Player application. To list the available CD devices attached to your system, type:
lsdev -Cc cdrom
This command produces a list of defined and available CD-ROM devices. For example,
cd0 Available 00-07-00-30 CD-ROM Drive cd1 Available 00-08-00-40 CD-ROM Drive
indicates that there are two CD-ROM drives available. The first is named cd0 and the second cd1. If you wanted to play an audio CD from the second CD-ROM drive (cd1), you would change the cd_device_path entry in the UMS configuration file to:
cd_device_path "/dev/rcd1"
Remember to put the letter "r" in front of the cd1.
You can also override the cd_path_entry by specifying a device from the CD Player command line. For example,
run_ums cd_player -device /dev/rcd1
If your system has a /dev/paud0 or /dev/baud0 device and a CD-ROM drive, and the CD-ROM's output has been wired to the audio-device's Auxiliary 1 input, you can play audio CDs through speakers connected to your system's audio hardware.
To determine whether your system has a paud0 or baud0 audio device, type:
lsdev -C | grep aud
which lists all of the defined and available devices on your system. An example would be:
paud0 Available 00-06
If your system does not have an available paud0 or baud0 device, or your CD-ROM's output is not wired to your audio-device's Auxiliary 1 input, you can still play audio CDs using the UMS CD Player application in one of two ways:
If the output of the lsdev -C | grep aud command contains either paud0 or baud0, you should modify the audio_device_path entry to match. For example, if the command produces:
paud0 Available 00-06
you should change your audio_device_path to
audio_device_path "/dev/paud0"
When you run the UMS CD Player application, the CD Player also runs the UMS Master Settings application. The Master Settings application turns on your audio hardware's Auxiliary input, enabling you to hear the output of your CD-ROM through the speakers attached to your system's hardware.
When a CD is mounted, the CD Player cannot open the CD device driver. It appears as if the CD you are trying to play has no program. Track 1 will have a length of 00:00. To use the CD-ROM with audio CDs, follow these steps:
dtcd_player [-device devicePath] [-play]
cd_player [-device devicePath] [-play]
-device devicePath | Specifies the device path of the CD Player. For example, /dev/rcd0 is a known device path. |
-play | Begins play. |
The CD Player Main Window figure shows the window that displays each time you start the CD Player.
The main display gives you the following information:
When the CD Player is first started and you have not loaded the CD-ROM into the CD audio drive, both the Track and Time display shows dashes as the current track and time. In addition, the top line of the status display shows No CD.
Explanations on how to use the CD buttons follow:
Clicking on the Play button begins play of the CD-ROM. To stop play temporarily, click on the Pause button. To stop play for any length of time, click on the Stop button.
Clicking on the Stop button stops the currently running operation, such as play, and resets the CD-ROM program to the beginning of the program.
Clicking on the Pause button temporarily freezes the CD-ROM during play. The Pause button is a toggle button.
Search Forward and Backward Buttons
Search Forward moves forward within a track, while Search Backward moves backward within a track.
Track Forward and Backward Buttons
Track forward advances to the beginning of the next track, while Track backward moves to the beginning of the previous track. To move forward or backward within a track, use the Search buttons.
The Repeat button repeats either the current program or the entire CD-ROM. When selected, Repeat is displayed along the right side of the main display.
The Program button allows you to select a sequence of tracks to play. You can either enter the sequence of tracks using the keyboard or select a track by positioning the pointer over the track number and clicking the left mouse button. When you have made your selections, you can press the Play button to begin playing the sequence.
The Random button randomly chooses the next track to play. When selected, Random is displayed along the right side of main window display.
Select Eject to eject the CD-ROM.
Select a CD-ROM that you want to play and insert it into the disc caddy. Some CD-ROM drives have a removable disc caddy, while others have a sliding drawer. If the CD-ROM drive on your system has a sliding drawer, place the CD-ROM in the drawer and push the drawer in. If the CD-ROM drive on your system does not have a sliding drawer, insert the CD-ROM into the disc caddy and then insert the caddy into the CD-ROM drive. When a CD-ROM is first loaded, the Track display will show the number of tracks on the CD-ROM and the Time display will show the total time for all tracks. The top status line will show Stop.
To begin play, select Play with the left mouse button. Play begins at the current position and continues through the entire program. If you have not chosen a program, all tracks on the CD-ROM are played in sequence. If you have selected a program, play begins with the first track in the program. While playing, the Time display shows the elapsed time of the track and the top status line shows Play.
Selecting Program allows you to choose the sequence of tracks to be played by the CD Player (see the CD Player Program Window).
The CD Player Program Window contains a listing of the tracks and their respective lengths in Minutes:Seconds. The Selected tracks area contains the current sequence of tracks in the program. A track can be added to the sequence by positioning the mouse pointer on the desired track and clicking the left mouse button or by placing the cursor in the Selected tracks region and entering the track number using the keyboard. When Play is pressed, the tracks will be played in the order specified on the Selected tracks line.
To add a track or change the program, edit the sequence and select Play again. Note that changes to a program are not recognized until Play is selected. Select Clear to clear the entire program sequence.
If Repeat was selected, the entire program will be repeated. To close the Program Window, select Close.
To exit the CD Player, click on the Eject button to eject the CD-ROM, and select File -> Exit from the CD Player File pull-down menu.
After selecting File -> Exit, a pop-up menu is displayed, prompting you to verify that you want to exit the CD Player. Click on the Yes button to exit. Click on the No button to remain in the CD Player.