I had a feeling this would be the case, after getting music out of an unrelated but slightly newer 166Mhz Pentium. Sound on that machine was a bit scratchy, skipping and sputtering while the processor churned away, keeping up with the playback demands. It’s not an issue of sound quality, it’s an issue of workload, where the 120Mhz system is scrambling to keep up with that plus whatever other software or system responsibilities it has.
But like all the little problems I mention, I have a few observations and a couple of possible solutions. Never mention a problem without bringing a solution with you.😉
First, this is definitely an issue involving system load against the processor. Normally I spin up a screen session with about seven or eight standing applications running, and bounce between them as is necessary. I might start htop, for example, but never need it except to kill a stalled telnet session, or check to see if something is still running. Or I let mc run just because it’s exceptionally handy to jump to, even though it’s not something that needs to be on continually.
The obvious answer here is to call up applications as they’re needed, rather than letting them run continually. And this is probably the most straightforward solution, seeing as if I turn off screensavers and trim away apps one at a time, the skipping slowly improves. Things are normal when only one or two other programs are running alongside the player and screen.
But screen (and this is the second thing) also seems to be involved in the dragging effects. There is a distinct difference between starting player inside screen, or starting it in a separate tty. I don’t have a specific answer to that, except to suggest that adding an application to screen requires a tiny bit more work than running it in its own virtual terminal. Which makes the solution obvious — run mocp in tty2, and go back to what I was doing in tty1 with screen.
mocp is what I prefer, but even that seems to be part of the issue. I don’t know, or can’t tell, the exact system load when comparing things so terrifically small as mocp, but it could be that the player itself is taxing. A different player might be a better idea; I have adjusted some of the settings in .moc/config and will probably research that a little more, since it is the player I like best. But there are probably lighter apps out there.
As a side note to that, mocp will detach from its playback server and continue to play music, so quitting the player (but not the server😉 ) usually improves playback immediately. And it’s possible to send commands directly to the server from the command line, a la mpd or some other console-based players; sometimes I just dump two or three albums into moc, then quit the interface and let it run.
And if processor strain is an issue, then ALSA also becomes suspect; if something like OSS is lighter, then perhaps an entirely different subsystem is called for.
But finally, some of this is just due to hardware. A 120Mhz processor is still quite slow, by anyone’s standards (even mine). Connecting hardware is to blame too, since the staggering effect seems compounded when the drive is accessed or when the framebuffer has to refresh. Once a song is cached and playing it will improve, but between tracks or with network access underway, the problem tends to worsen. No nfs transfers while playing music, it seems.
But hardware is also the reason I pursue this quite so avidly; sound quality (without the staggering) is very, very good. And this laptop has the added bonus of a small volume control dial on the side of the frame, which means I can quickly adjust the volume up or down without having to snap between controllers or programs, just to turn down a noisy tune. Everything was easier in 1996. …
It’s always possible that a distro lighter still than Debian could display better performance, but for now I’m going to stick with this. Slitaz at 166Mhz had the same problems and Ubuntu couldn’t manage sound without most of Gnome in place, so Debian will probably stay on board for a while longer. I still have hopes for installing Crux to this machine — mostly because I have done it before and the results are fantastic — but in the meantime, I want to get some more information via Debian. It’s been a winner thus far, I’ll stick with it a little longer.