CDDA playback on Pismo (and other newer models)

4 messages, 3 authors, 2000-08-04 · open the first message on its own page

CDDA playback on Pismo (and other newer models)

From: Henry Worth <hidden>
Date: 2000-08-04 05:18:36

As most of you know, the newer Mac models lack analog CD playback
capabilities. So I've been experimenting with using cdparanoia
piped through play for CD playback on my Pismo with
2.2.17pre15-ben1 (btw, very stable so far).

Using the ATAPI CD drivers there are underruns with significant
dropouts every couple of seconds. Various hdparms and cdparanoia
parms were tried with no significant change. These include various
transfers modes and cdparanoia's buffer (-n) and speed (-S)
parms and various data formats. Piping cdparanoia out to /dev/null
showed data rates of 46 sectors/sec at -S1, 65sps at -S8, and
133sps at -S12 and above (also the default and no significant
changes with different transfer modes and -n values). At the higher
speeds (>-S11) there is a high-level of continuous head-seek noise,
suggesting a lot of overruns and reseeks on the CD i/f side.

Rebuilding the kernel to use SCSI generic devices with IDE SCSI
emulation produced much better, even usable, results. At startup
there are still a couple of dropouts in the first few seconds,
but after that the playback is clean across multiple tracks (even
with a concurrent kernel compile). Piping cdparanoia to /dev/null
shows data rates of 187sectors/sec at all -S settings (and default).
From the the drive's spin-up sounds it seems to always be in
high-speed mode, but unlike the ATAPI driver, there is little
head movement noise.

So, any thoughts as to whether this a lack of sufficent buffering
in the CDDA path of the ATAPI CD driver? Or, more general
performance problems in the ATAPI CD or low-level drivers?

I'll also be looking at cdparanoia (v9.7), it does diffentiate
between ATAPI and SCSI interfaces, so it might not be reading
ATAPI devices in an optimal manner. I'll also be giving cdda2wav
a try now that I have SCSI emulation built in (btw, you don't
need to leave the ATAPI cd driver out of the build, just use
the hd[n]=ide-scsi boot parm to switch).

Additionally there seems to be some clipping occuring somewhere
in the A/D or mixer/preamp. It's independent of output
volume on either the internal speakers or external port, and
only occurs, consistently, on a few tracks I've tried. But in
general using .aiff format instead of .wav seems to sound a
bit better, with perhaps a bit less clipping (haven't tried
the latest damsound patches).

I'd like to give XMMS a try, but the XMMS in LPPC2K and updates
and builds of newer versions all generate white noise on .wav
files (endiness?). Has anyone been able to get XMMS to work on
a Pismo? And where can I find the XMMS CDDA playback plugin?

TIA,
Henry

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: CDDA playback on Pismo (and other newer models)

From: Michel D�nzer <hidden>
Date: 2000-08-04 09:50:02

Henry Worth wrote:
Rebuilding the kernel to use SCSI generic devices with IDE SCSI
emulation produced much better, even usable, results. At startup
there are still a couple of dropouts in the first few seconds,
but after that the playback is clean across multiple tracks (even
with a concurrent kernel compile). Piping cdparanoia to /dev/null
shows data rates of 187sectors/sec at all -S settings (and default).
From the the drive's spin-up sounds it seems to always be in
high-speed mode, but unlike the ATAPI driver, there is little
head movement noise.
Does it also improve audio grabbing? With 2.2.15, both IDE and SCSI emulation
almost killed the system...


Michel


--
Columbus had a fourth ship. It sailed over the edge.
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86, Team *AMIGA*, AUGS

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: CDDA playback on Pismo (and other newer models)

From: Nelson Abramson <hidden>
Date: 2000-08-04 15:56:51

Henry Worth wrote:
<snip>
Using the ATAPI CD drivers there are underruns with significant
dropouts every couple of seconds. Various hdparms and cdparanoia
parms were tried with no significant change. These include various
<snip>

I had issues using the "cdparanoia 1- - | play - -t WAV" until I realized
that cdparanaoia was trying to do on the fly error correcting, resulting
in the pause every few seconds.  By using the "-Z" flag, which turned off
the error correcting, I got excellent playback with no skips what-so-ever
on my Pismo.

HTH
--Nelson Abramson


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: CDDA playback on Pismo (and other newer models)

From: Henry Worth <hidden>
Date: 2000-08-04 19:45:50

On Fri, 4 Aug 2000, Nelson Abramson wrote:
Henry Worth wrote:
quoted
<snip>
Using the ATAPI CD drivers there are underruns with significant
dropouts every couple of seconds. Various hdparms and cdparanoia
parms were tried with no significant change. These include various
<snip>

I had issues using the "cdparanoia 1- - | play - -t WAV" until I realized
that cdparanaoia was trying to do on the fly error correcting, resulting
in the pause every few seconds.  By using the "-Z" flag, which turned off
the error correcting, I got excellent playback with no skips what-so-ever
on my Pismo.
Thanks, that works great with both the atapi and ide-scsi interfaces.
The sector rates for atapi is 3x what it was before. I still think the
aiff format may sound a tad better, the wav format seems a little
thin in comparison. For aiff the command would be:

cdparanoia 1- -Z -f - | play - -t aiff


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help