Some audio success

In between everything else that’s going on here — including this week’s move to a new location, and the normal day-to-day crises — I have managed to make a little more progress understanding audio processing and control at very low processor speeds.

As a recap to anyone who hasn’t heard the story thus far, I’ve been wrassling off and on with audio playback in very old machines — some as old as mid-90s (i.e., pure Pentium) grade hardware.

Around a year ago, I managed to decipher the configuration options for ISA sound cards, and with that came the wonderful world of sound, at under 150Mhz.

The downside is that invariably, playback was terrible — scratchy, stuttering results when using standard-quality variable-bit recordings in ogg or mp3 format.

I’ve tried several different distros and players, with my favorite being Music on Console, even if it was terrible to listen to. In between distro hopping, I decided to test a couple of other players, this time under Debian.

It seems that cmus, which I thought I had tried, gives me perfect playback (or at least as perfect as can be enjoyed with laptop speakers :roll: ) even when mocp is unacceptable.

Same files, same quality and bitrates, and the difference between cmus and mocp is night-and-day. mocp kicks back any amount of skipping and kicking.

Exiting the moc player, as I already knew, cleans up the playback, and that means basically that the interface itself is just too heavy for a slow processor like this.

On the other hand, cmus plays clean and clear. System load is rarely above 30 percent, with a meager 15Mb of memory (out of the 28Mb available of 32Mb physical) actually taken up.

That’s calculated via ssh, with htop and mc running inside the default Debian version of screen. CPU level is a bit high in that photo, because I’m syncing over a network.

In fact, the only way I can force it to skip is to demand something rather intensive of aptitude, such as a repository update. That much calculation and contemplation drives the processor all the way up to 100 percent anyway, so it’s no surprise if audio failures result.

So all in all, moc’s interface was just too much for a system this slow. It’s a shame, because moc is my favorite in the field of console audio players, but there’s little to be done about it.

In the mean time I’ll be trying to get my bearings on cmus, and possibly adding it to the 133Mhz Pentium, which otherwise is really only working as a file server and torrent slave. Playing music might also be in its future. :)

P.S.: Just for the record, all this was installed and tested on that same CF card from months ago. …

About these ads

10 Responses to “Some audio success”


  1. 1 mulenmar 2010/11/14 at 7:15 PM

    Have you tried OSS4 yet? Even on a Pentium 3, I can still note a difference in CPU load playing a Vorbis file with MPlayer with the alsa and oss-emulation outputs.

    • 2 K.Mandla 2010/11/14 at 10:50 PM

      Not yet. I want to. Most of the Debian systems I run on these old, old computers crash horribly if I try to update beyond stable. I don’t see a package for oss4 in Debian except for in sid though, so it might be a while.

      On the other hand, ConnochaetOS is in beta release; maybe I can get something hot-wired between that and the Arch versions. :|

  2. 4 Duncan Snowden 2010/11/15 at 1:00 AM

    Although I have a fairly “modern” machine by your standards, I find these posts fascinating. I’m of the view that no matter how many CPU cycles you have to spare, the fewer you “waste” the better for the rest of the system. I’ll have to take a look at cmus.

  3. 5 raymond300 2010/11/15 at 1:03 AM

    What about Miles Sound system?

  4. 8 Jonathan Page 2010/11/15 at 5:41 AM

    Have you tried MPD with something like mpc, ncmpc, or ncmpcpp? If so, is there a particular reason that it doesn’t work?


  1. 1 Audio in Debian on a Pentium MMX « Motho ke motho ka botho Trackback on 2010/11/17 at 9:48 AM
  2. 2 One pleasant surprise, for 2010 « Motho ke motho ka botho Trackback on 2010/12/23 at 8:06 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,961,111 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: