CDDA playback on Pismo (and other newer models)
Hi Henry,
Quoted 7 lines · Henry Worth
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).
The latest patches will (probably) not help this... although the output from them will help me in debugging where we're at - and they do fix on or two other pismo-related issues.
it is likely (a) either the app not really setting up /dev/dsp properly. or
(b) issues with the mixer abstraction which are still being worked on.
Try opening the oss mixer (e.g. kmixer) and making sure that the monitoring channel is full *up*. I know this sounds strange (but at least with CDs) for me it stops the distortion.
This stuff is being actively worked on... and I will post with patch/URL if/when the results are more positive.
Quoted 4 lines
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?
I've been using the xmms CVS tree (www.xmms.org and follow the links). It works fine with .wavs of different sample rates etc. [xmms --version == 1.2.1].
I don't think the 'standard' CD plugin routes the audio from disk to /dev/dsp -- it seems to do the same as other media players and start the CD player but use the local routing of audio on the mixer. will check some more on this.
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 14 lines · Iain Sandoe
Hi Henry,
Quoted 7 lines · Henry Worth
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).
The latest patches will (probably) not help this... although the output from them will help me in debugging where we're at - and they do fix on or two other pismo-related issues.
Quoted 6 lines
it is likely (a) either the app not really setting up
/dev/dspproperly. or
(b) issues with the mixer abstraction which are still being worked on.Try opening the oss mixer (e.g. kmixer) and making sure that the monitoring channel is full *up*. I know this sounds strange (but at least with CDs) for me it stops the distortion.
I've about decided the "clipping" is mostly on the CDs (it's heavily picked acoustic string stuff), it's just more noticeable when listening hard for problems (and in particular through those tinny internal spearkers).
Quoted 4 lines
This stuff is being actively worked on... and I will post with patch/URL if/when the results are more positive.
Quoted 8 lines
Quoted 4 lines
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?
I've been using the xmms CVS tree (www.xmms.org and follow the links). It works fine with .wavs of different sample rates etc. [xmms --version == 1.2.1].
I've been trying 1.2.2 binary and source RPM's. Oddly the smaller wavs in /usr/share/sound that the gnome desktop uses play ok, but just the the ones that show a 0:00 length in the playlist. Longer ones just generate noise (but play ok with other players). Have the same problem with the version in LPPC2K (IIRC, 1.1.6 or 1.1.7). This is with both oss and esd output modules. I'll have to check lib dependencies, something is amiss.
Quoted 6 lines
I don't think the 'standard' CD plugin routes the audio from disk to
/dev/dsp-- it seems to do the same as other media players and start the CD player but use the local routing of audio on the mixer. will check some more on this.
There has been mention of a CDDA plug-in that doesn't work very well. I took another look at www.xmms.org and found one that looked like it might be it, but I go back a few minutes later to get the name and it's not on the list, just the newer plugins... Plugin list and new plugin list have same URL..., clearing my cache doesn't help so the server's cache must be confused as well. Check history and get the earlier response URL... there it is:
Xmms_CdRead from ftp://mud.stack.nl/pub/OuterSpace/willem/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines
I've about decided the "clipping" is mostly on the CDs (it's heavily picked acoustic string stuff), it's just more noticeable when listening hard for problems (and in particular through those tinny internal spearkers).
Sound was good here (Sawtooth G4/350), however, I found that the playback using cdparanoia used 25-50% of my CPU, caused huge latencies (mouse blocked in X for half a second every 3 or 4 seconds, etc...)
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Iain Sandoe
I've been using the xmms CVS tree (www.xmms.org and follow the links). It works fine with .wavs of different sample rates etc. [xmms --version == 1.2.1].
Which output plugin do you use? And was that on a Pismo?
Looking at eSound and the XMMS ESD output plugin, they simply can't work with little endian formats like .wav on a big endian machine. The esd daemon
uses, and sets the output device to, native endiness (there isn't even a parm to indicate endiness of the incoming data buffer). The XMMS ESD output plugin completely ignores endiness of the incoming data stream and
passes it through unchanged (versions 0.9.5, 1.2.1, 1.2.2). A quick hack to swap bytes in the ESD plugin fixed playback of .wav files. The small files that had worked before were all 8-bit mono format.
OTOH, the OSS output plugin appears to correctly pass the data stream's endiness to the sound device, but a quick hack to swap data bytes also fixed its playback problems. I need to dig into the code some more, but are we sure the AWACS Screamer in the Pismo isn't one of those variants that only supports big-endian data? A quick test forcing the AFMT_*_[LB]E
value to either value for the IOCTL doesn't make a difference.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/