1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
|
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.4F.u">
<TITLE>The Answer Gang 80: Playing CD Music Digital Output</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#3366FF" VLINK="#A000A0">
<!--endcut ========================================================= -->
<P> <hr>
<!--startcut ======================================================= -->
<CENTER>
<!-- *** BEGIN navbar *** -->
<!-- *** END navbar *** -->
</CENTER>
</p>
<!--endcut ========================================================= -->
<!--startcut ======================================================= -->
<P> <hr>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<p align="center">
<table width="100%" border="0"><tr>
<td align="right" valign="center"
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
><A HREF="../index.html"
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
ALT="[ Table Of Contents ]" border="0"></A
><A HREF="../lg_answer.html"
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
<A HREF="../tag/bios.html">Meet the Gang</A>
<A HREF="1.html">1</A>
<A HREF="2.html">2</A>
<A HREF="3.html">3</A>
<A HREF="4.html">4</A>
<A HREF="5.html">5</A>
<A HREF="6.html">6</A>
<A HREF="7.html">7</A>
</td>
<td align="left" valign="center"><A HREF="../../tag/kb.html"
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
ALT="[ Index of Past Answers ]" border="0"></A
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
</p>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<!--endcut ========================================================= -->
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<center>
<H1><A NAME="answer">
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
border="0" align="middle">
<font color="#B03060">The Answer Gang</font>
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
border="0" align="middle">
</A></H1>
<BR>
<H4>By Jim Dennis, Ben Okopnik, Dan Wilder, Breen, Chris, and...
(<a href="tag/bios.html">meet the Gang</a>) ...
the Editors of Linux Gazette...
and You!
<br>Send questions (or interesting answers) to
The Answer Gang
for possible publication
(but read the <a href="../tag/ask-the-gang.html">guidelines</a> first)
</H4>
</center>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<p><hr><p>
<!-- begin 4 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Playing CD Music Digital Output</H3>
<p><strong>From Bill Parks, Mithra
</strong></p>
<p align="right"><strong>Answered By Lennart Benschop, Dave Maxwell, Serkan Akdag, Rob McMeekin, Robos
</strong></p>
<blockquote><em><font color="#000066">This thread is in response to
<a href="../..//issue79/lg_mail.html#wanted/2">Issue 79, Help Wanted #2</a>
and all of these people sent in Tips. I'm sure there's really at least
a quarter's worth here; that'd be Two Bits instead of Two Cents
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
-- Heather</font></em></blockquote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I purchased an eMachine to run Linux on. It came with (sorry) XP which I
used to check out the hardware. It plays music CD's fine but uses digital
data over the IDE buss rather than a cable from the CD drive to the sound
input.
</STRONG></P>
<P><STRONG>
Loaded <A HREF="http://www.redhat.com/">Red Hat</A> 7.3 and it plays sounds fine but it won't play music
CD's...the player just runs and the CD spins along.
</STRONG></P>
<P><STRONG>
How do I configure the CD/sound system to pick up the digital sound data on
the IDE buss to play the music?
</STRONG></P>
<P><STRONG>
Thank You,
Bill Parks
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Lennart]
Linux does have a program that can play a CD by reading the digital data over
the IDE bus, it's cdda2wav, included with most Linux distributions.
</blockQuote>
<blockQuote><CODE>
cdda2wav -D /dev/cdrom -t 1 -eN
</CODE></blockQuote>
<blockQuote>
will play track 1, if the <A HREF="http://www.kde.org/">KDE</A> sound system isn't keeping <TT>/dev/dsp</TT> busy. The
-eN options cause cdda2wav to echo the data to the soundcard and not write
the ridded data to a file.
</blockQuote>
<blockQuote>
You can also try to connect an analog cable between the CD-ROM drive and the
sound cards, as most PC's have.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Dave]
There is a plugin for XMMS that does this. It can be downloaded at
</blockQuote>
<blockQuote>
<A HREF="ftp://mud.stack.nl/pub/OuterSpace/willem"
>ftp://mud.stack.nl/pub/OuterSpace/willem</A>
</blockQuote>
<blockQuote>
The version numbers are a little confusing. The latest version is:
</blockQuote>
<blockQuote><BLOCKQuote>
xmms-cdread-0.14a.tar.gz
</BLOCKQuote></blockQuote>
<blockQuote>
The one labeled 0.9a is not it. XMMS comes with a cd player plugin that is
supposed to do this but it didn't work for me. To play a cd, start XMMS and
open your <TT>/dev/cdrom</TT> device or whichever device the cdrom drive actually is.
I'm currently playing a cd from a drive without it's audio cable so I suppose
that means it works
<IMG SRC="../../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="middle">. Come to think of it, if you add an audio cable from
your cd to your sound card then the player you attempted to use will work as
well. The audio from this plugin will be cleaner as it passes through one
less analog stage.
</blockQuote>
<blockQuote>
Another nice thing about this plugin is it will pull title data from Freedb
and let you play individual tracks by name. The stock plugin won't do this.
</blockQuote>
<blockQuote>
Oh yeah! Be sure to disable the stock plugin before attempting to use this
one. Right click on XMMS and choose Preferences.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Serkan]
Hello, You will need to enable the "Enable Digital Sound" from one of
the configuration options of KDE and/or Gnome. There is an option like
that somewhere but I can't remember but I am sure its in X and not the
console. Also, you could type audio:/ at the KDE browser to view your
CD-Player contents and open a multimedia player like XMMS and drag the
files in the browser to the playlist of XMMS and play that way. It
should work.
</blockQuote>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Rob]
Hello. I have an IDE CD-ROM drive and an IDE CD-RW
drive. The CD-ROM has audio cables attatched to the
Sound Card while the CD-RW does not. The CD-RW would
not play compact discs until I configured it for
writing (enable SCSI-Emulation). I'm not an expert. I
don't know if this is supposed to be the case. It
could just be a fluke, but it worked for me.
</blockQuote>
<HR width="10%" align="left">
<blockquote><em><font color="#000066">And, since someone may also want to play other sorts of
fun noise with their player, and most easily find this thread
instead...
-- Heather</font></em></blockquote>
<P><STRONG>
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Mithra]
</STRONG></P>
<P><STRONG>
Hai,
</STRONG></P>
<P><STRONG>
I use <A HREF="http://www.caldera.com/">Caldera</A> Linux . i Would like to watch movies in my syatem.
But There is no s/w that would play .Dat file for me.
Can any one suggest me a downloadable s/w that can Play
.dat files.
</STRONG></P>
<blockQuote>
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
> [Robos]
Try mplayer, it can do this. Url is <A HREF="http://www.mplayerhq.hu"
>http://www.mplayerhq.hu</A>.
</blockQuote>
<!-- end 4 -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<H5 align="center">This page edited and maintained by the Editors
of <I>Linux Gazette</I>
<a href=""
>Copyright ©</a> 2002
<BR>Published in issue 80 of <I>Linux Gazette</I> July 2002</H5>
<H6 ALIGN="center">HTML script maintained by
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
Starshine Technical Services,
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
</H6>
<!-- *** END copyright *** -->
<!--startcut ======================================================= -->
<P> <hr>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<p align="center">
<table width="100%" border="0"><tr>
<td align="right" valign="center"
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
><A HREF="../index.html"
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
ALT="[ Table Of Contents ]" border="0"></A
><A HREF="../lg_answer.html"
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
<A HREF="../tag/bios.html">Meet the Gang</A>
<A HREF="1.html">1</A>
<A HREF="2.html">2</A>
<A HREF="3.html">3</A>
<A HREF="4.html">4</A>
<A HREF="5.html">5</A>
<A HREF="6.html">6</A>
<A HREF="7.html">7</A>
</td>
<td align="left" valign="center"><A HREF="../../tag/kb.html"
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
ALT="[ Index of Past Answers ]" border="0"></A
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
</p>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<!--endcut ========================================================= -->
<P> <hr>
<!--startcut ======================================================= -->
<CENTER>
<!-- *** BEGIN navbar *** -->
<!-- *** END navbar *** -->
</CENTER>
</p>
<!--endcut ========================================================= -->
<!--startcut ======================================================= -->
</BODY></HTML>
<!--endcut ========================================================= -->
|