WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Audio CDs  (Read 4459 times)

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Audio CDs
« on: February 12, 2009, 04:15:38 AM »
I can play .mp3 and .wav files using oss and xmms but can't play tracks on my usual new-distro test audio cd.

dmesg shows my cdrom drive as hdc.

Having read the discussion at http://forum.tinycorelinux.net/index.php?topic=228.0 I've tried the following:

sudo mount /mnt/hdc
mount: No medium found

After inserting the cd:

mount /mnt/hdc
mount: block device /dev/hdc is write-protected, mounting read-only
mount: you must specify the filesystem type

FWIW in DSL I could only get the same device to work by installing xmms_cdread.dsl but there doesn't seem to be an equivalent .tce.
Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: Audio CDs
« Reply #1 on: February 12, 2009, 06:02:18 AM »
Don't mount audio CDs to play them.  They get read directly, same as a DVD movie.
I have no idea if the software needed to play CDs is even available for TC yet, but I would try "xmms /dev/hdc"

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audio CDs
« Reply #2 on: February 12, 2009, 07:10:59 AM »
To play audio CD's with XMMS and /dev/hdc is your preferred cd drive, do this:

$ sudo ln -s /dev/hdc /dev/cdrom
$ sudo on -s /mnt/hdc /mnt/cdrom


Then play the cd with Play Directory -> /mnt/cdrom.  Or choose an individual song in that directory.

Also, this thread would belong in a TCE extensions category.
« Last Edit: February 12, 2009, 07:13:31 AM by Jason W »

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Re: Audio CDs
« Reply #3 on: February 12, 2009, 05:52:45 PM »
Hi Jason

Thanks for the reply.

Having turned on OSS and followed your instructions XMMS started playing track 1 of the cd but without sound.  Vol at max.

A ripped version of the same test cd on another USB stick containing my backed-up music files plays perfectly in XMMS.

Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Re: Audio CDs
« Reply #4 on: February 14, 2009, 07:38:17 PM »
Since my last post I've done further research on this topic and the upshot is as follows.

My system has integrated on-board sound i.e. it doesn't have a separate sound card. My experience with DSL was that it was necessary to instal the xmms-cdread plugin to get xmms to play audio cds in drives that don't have an audio cable connecting them to the soundcard. This situation seems to obtain with TC 1.0/1.1 unless another user with integrated on-board sound knows otherwise.

As the currently available xmms.tce/tcel extensions don't contain the cdread plugin I'm unable to use xmms to play cds. This no big deal as it's easy enough to mount an extra USB stick containing ripped music files which xmms plays excellently.

However if this presumed xmms limitation is confirmed it would save other newbies time/effort if the situation was acknowleged and documented. 

Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audio CDs
« Reply #5 on: February 14, 2009, 08:20:46 PM »
No audio cable is an important factor as I was unable to reproduce XMMS playing a CD with no sound on my setup.  I will look into making an XMMS-cdread extension to accomodate sound using the IDE interface.  I was unaware until reading up on it now that playing CD's with no audio cable was possible.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audio CDs
« Reply #6 on: February 15, 2009, 03:36:54 PM »
Xmms-cdread is not needed to play CD's with no audio cable attached.  So that is two things I have learned in this post: You do not need an audio cable and you also don't need xmms-cdread to listen to CD's.  How to play a cd with XMMS is documented above, and the below steps will enable sound through the digital IDE interface.

Go to Options -> Preferences and you will be at the Audio I/O plugins tab.  Click on CD Audio Player 1.2.11 and then click on the Configure button below it and you will be at the Device tab.  In the Play Mode section you will be given the choice of Analog ( the default ) and Digital Audio Extraction.  Choose Digital Audio Extraction and you will then be able to listen to CD's without an audio cable attached.  This same tab also gives you the option of which CD device and mount points you want to assign to save having to symlink to /dev/cdrom.

XMMS info is getting harder to find, but here is a fairly comprehensive page that is still out there:

http://www.xmms.org/docs/readme.php

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Re: Audio CDs
« Reply #7 on: February 15, 2009, 05:34:08 PM »
Hi Jason

Thanks for sorting out how to play sound through the digital IDE interface on XMMS. Everything works fine now.

The XMMS info link looks most useful; I plan to use it to install the skins I've downloaded from http://ftp.osuosl.org/pub/damnsmall/mydsl/multimedia/xmms_skins.tar.gz.
« Last Edit: February 15, 2009, 05:35:48 PM by jaygeetiny »
Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Audio CDs
« Reply #8 on: February 15, 2009, 06:43:22 PM »

XMMS info is getting harder to find

maybe because it works so well

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audio CDs
« Reply #9 on: February 16, 2009, 09:56:22 AM »
It is still a good audio player and it is a shame that the mainstream distros are dropping it.  I still prefer XMMS to any of the other alternatives and it will always have a place on my hard drive (or ramdisk).  I have nothing against the newer apps like Audacious, but XMMS still does what it always has done efficiently - playing audio files and CDs while consuming little in terms of system resources.

Offline jaygeetiny

  • Newbie
  • *
  • Posts: 20
Re: Audio CDs
« Reply #10 on: February 16, 2009, 05:31:04 PM »

XMMS info is getting harder to find, but here is a fairly comprehensive page that is still out there:

http://www.xmms.org/docs/readme.php

A couple of useful tips culled from the quoted info page:

para 3.1 : clicking on the D means I can now easily read the default skin - which helps

para 7.1 : To make Opera 9.62 use XMMS on http://www.shoutcast.com - my pedantic version:

Launch Opera and go Tools/Preferences/Advanced/Downloads/Add.

On the displayed File type pane:

a. set Mime type to: audio/x-scpls
b. select Open with other application and enter: xmms %s
c. hit OK button

 
Using TC 1.1 in PPR/TC mode on a bootable USB stick with boot options "quiet noswap tce=sda1 waitusb=7 pause"

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: Audio CDs
« Reply #11 on: October 22, 2009, 11:20:29 AM »
Thanks, jaygeetiny, this was just the info I needed to get Opera to play shoutcast internet radio on my Eee 900.