Re: help with sound...

From: Spamless (Spamless_at_Nil.nil)
Date: 03/21/04


Date: Sun, 21 Mar 2004 14:49:22 GMT

In article <405D1B63.8080308@verizon.net>, Mario Flores wrote:
>
> I followed your instructions and have installed kernel 2.4.18 and now I
> am able to play sounds (*.wav files) from KDE, the sound card seems to
> be working with the module you told me as well. The card is indeed an
> ISA PnP, I got these lines in the kernel messages:
>
> Mar 20 22:41:05 woody kernel: isapnp: Scanning for PnP cards...
> Mar 20 22:41:05 woody kernel: isapnp: Card 'CS4236B'
> Mar 20 22:41:05 woody kernel: isapnp: 1 Plug & Play card detected total
>
> However, I still can't play audio cd's. When I load an audio cd and try
> to mount /cdrom, I get the following error:

You don't "mount" an audio CD. It does not have a standard file system
(it has audio tracks instead - though there are programmes which
can take that as a file system often displaying them as files
ending with an extension of "*.cdda").

For an audio CD you use a CD player programme (or, if you want
to extract the files for creating your own compilations
cdda2wav or cdparanoia to "rip" the files, i.e. use DAE,
Digital Audio Extraction, to read the data and export to
a file on your hard drive).

To play an audio CD you should have an analog cable connnecting
the CD player to the sound card. It is less work for the system
to use the CD player as a standard audio CD player (the system
is only used to control the tracks) which sends data directly
to the sound card (this can cause problems if there is a lot of
electronic noise in the system and won't work with USB speakers,
though).

The alternative is digital playback (that may be the default
in MicroSoft's Windows Media Player) which has the system
"rip" the data and then send it on to the sound card (or the USB
ports for USB speakers, for example).

Almost all Linux players use analog playback. I have seen a few
on freshmeat for digital playback. One can do digital playback
using cdda2wav

(basically,
  cdda2wav -N -D /dev/cdrom -e
 which uses: -N: don't write to file
             -D: device (/dev/cdrom)
             -e: echo to sound device
 if that works, you can check "man cdda2wav"
 to see about setting tracks to play, buffering,
 spead in reading the CD, etc. to write a small
 script to do it - depending on your setup,
 system speed, which IDE channel you CD drive
 and hard drive are on, etc. it may cause some
 problems - when online using dialup and telnet
 doing that causes some pauses in my ability to
 type things - using analog playback which avoids
 using the system to play the music is easier)

You probably have several audio CD players (analog) on
the system (from the simple cdp or cdplay text
programme to xmms and its plugin for playing CDs)
and remember that CDs (in analog mode) have a different
volume control from that used for sounds sent via
the system to the sound card (so you will have to use
something like aumix to set the volume of the CD even
if other sounds are OK).



Relevant Pages

  • Re: About digitized speech
    ... I know about the WAV player, ... Using the AY chip to play a speccy sampled sound is not going to improve its ... The speccy has an audio in port, ...
    (comp.sys.sinclair)
  • Re: A Couple Of ALSA questions
    ... > for some niggly little problems I'm having with my sound Card? ... > wav etc.) I can't play midi files, nor audio cds directly from my CD ... You need a softsynth to play back midi files. ...
    (uk.comp.os.linux)
  • Re: Cant get audio CD to play in Fedora
    ... Volume is up on both the Volume control applet and CD player, ... CD's do play on the Fedora installation on my HP laptop. ... but is your audio cable connected between the CD-ROM and sound card? ...
    (comp.os.linux.setup)
  • Re: Cant get audio CD to play in Fedora
    ... Volume is up on both the Volume control applet and CD player, ... CD's do play on the Fedora installation on my HP laptop. ... but is your audio cable connected between the CD-ROM and sound card? ...
    (alt.os.linux.redhat)
  • Re: When skipping tracks or songs annoying noise
    ... WMP and RealPlayer access the sound card differently, ... > I have a Windows 2000 Pro, and Windows Media player 9. ... > I stop the play of the track and start the next track I can avoid the ...
    (microsoft.public.multimedia.windows.mediaplayer)