Sound in YDL 2.2

David Johnston yellowdog-general@lists.terrasoftsolutions.com
Thu Apr 18 01:31:01 2002


I have same problem,

I found this solution in the Howto guides at 
http://www.powermaclinux.net/plain_page.php?caller=powermaclinux.php3+record=17, 
which might help (but haven't had chance to try it yet). Lots of 
other potentially useful stuff there as well.

***********************************

Howto: Playing CD Audio on the Newest Macs .1
Apple's Latest PowerMac G4 and iMac DVs don't have the traditional 
analog audio connection to the soundcard,
they require the sound card to do the D/A conversion, and not the CD 
Player. This provides higher quality sound, but it
means that many popular Linux CD players won't work with them. 
Forently, there is an XMMS plugin that can handle
this.

Notes

This Howto will become obsolete when somebody writes a full featured 
CDDA digital player for Linux. Xmms-CDRead is somewhat unstable,
you will have to restart xmms if it crashes it. Another alternative 
is AlsaPlayer which by default plays CD's digitally on all models.

If you are looking for a command line player to use, try out iCD, 
which is a shell script I wrote that emulates cdcd, using cdda2wav. 
It probably
is more reliable then XMMS-CDRead (well, maybe). At anyrate, it's 
simpler to setup, smaller, and only requires cdda2wav.

Downloading Xmms-CDRead

Xmms-CDRead is a plugin that can read CD audio as data, and pass it 
along to the sound card for D/A conversion.

You can download the newest version of the source code for 
Xmms-CDRead from this page. It's almost at the bottom of the page, so 
you will
want to scroll down. The current version is 0.8a at this writting, 
there may be a new version by the time you read this.

This Howto assumes you saved this file in your home directory (~), 
however you can save it where you want to.

Compiling Xmms-CDRead

Compiling (Building for PowerPC) Xmms-CDRead is the standard procedure.

It requires that you have xmms and xmms-devel (or xmms and xmms-dev 
dpkgs) installed before attempting to compile this. Otherwise you will
get errors.

Untar the Xmms-CDRead tarball:

tar -zxvf xmms-cdread-*.tar.gz

Configure (Setup the Initial Scripts for Building) Xmms-CDRead:

./configure

Compile/Make Xmms-CDRead:

make

Become root and run make install (the below command will prompt you 
for your root password):

su -c "make install"

If all went well without errors, the Xmms-CDRead Plugin should be 
compiled. Now your ready to try it out.

Remake Your Audio Devices

Just in case, when you installed Linux your audio devices were messed 
up, you can remake them using (it will again prompt you for the root
password): su -c "cd /dev;./MAKEDEV audio"

Configure XMMS for Xmms-CDRead

Type xmms & into the terminal.

XMMS should come up.

Type in Control+P (This is a short cut for right clicking XMMS, going 
to Options -> Preferences)

Select "CD Audio Player".

Below it, on the right, you will see a box saying Enable Plugin. Uncheck that.

Next, Select "AudioCD Reader".

Below it, on the right, you will see a box saying Enable Plugin. Uncheck that.

Click Configure, then the Output Tab. Make sure that Read Digital CD 
Audio is checked.

Click OK twice.

Selecting the CD-ROM Device

Click File +

Choose File +

Type in the location of your CD Drive and hit return. If you are 
using the Internal drive on these new machines this should be /dev/hdc

If you are connected to the internet, after a few seconds, the actual 
names for the songs will appear. If not, the CD tracks will appear as
track01.cdr, etc.

Playing CD Audio

Double click any of those tracks to start the CD Player playing. As 
it is playing these digitally, almost all of the plugins will work.

Ejecting the CD

XMMS provides no facilities to eject a CD. The eject button brings up 
a dialog for adding files?!

You will have to do this in the xterm, by typing in eject -r


***************************


-- 
David A. Johnston,
Secretary to the WHO Schistosoma Genome Network,
Biomedical Parasitology Division,
Dept. of Zoology,
The Natural History Museum,
Cromwell Road, London SW7 5BD, England, UK.

Tel: 020-7942-5566/5008/5152
Fax: 020-7942-5347
(from outside the UK: 44-20-7942 ****)
eMail daj@nhm.ac.uk

http://www.nhm.ac.uk/hosted_sites/schisto/

The  Biomedical Parasitology Division is a WHO Collaborating Centre 
for the identification of schistosomes and their snail hosts.

Now at The Natural History Museum: Predators (until 6 May 2002)
Coming Soon: Turbulent Landscapes (opens 19 April 2002), Dino-Birds: The
Feathered Dinosaurs of China (opens 18 July 2002, Phase One of the new
Darwin Centre (opens September 2002)