Re: MP3 skippety skip skipageness

Mike A. Harris (mharris@ican.net)
Thu, 11 Mar 1999 07:29:49 -0500 (EST)


On Thu, 11 Mar 1999, Craig Schlenter wrote:

>> >Interesting, it seems to have worked ok for this mornings alarmclock of 5
>> >metallica mp3s started with crontab. (yes this is what it takes to wake me
>> >up in the morning) Everything sounded fine.
>>
>> If you're needing 5 metallica MP3's to wake you up, perhaps it
>> skipped during the first 1-4 and you slept through it.
>>
>> I just played the entire Ride the lightening album in MP3, and it
>> skips too. I tried mpg123 and a couple other programs. Still
>> skips.
>
>The only thing that works properly for me is either x11amp or amp-0.7.6.
>
>amp-0.7.6 was compiled to do realtime stuff and has to run as root.

I tried several mp3 players - all seem to skip to some extent.
None of them ever skip except very occasionally on a busy system
in 2.0.x. So therefore it is definitely something wrong, and not
an issue with a maxed out system or some such.

>All the other players I've tried skip to some degree. When playing a mp3
>from cd I have the odd skip as the cd spins up, amp reads some stuff,
>the cd spins down, amp wants to read more and skips while the cd spins
>up and so on ... irritating.

Suggestions for your CD problem:

cat the file to /dev/null prior to playing it. It may likely
stay in buffer cache. You might also want to try out a program
that changes your CD's spindown timer if the drive allows it.
Alternative to that, you can write a small script which runs
every X seconds which accesses a random sector on the CD.

>I wrote a little read-mp3-into 5 Meg buffer thing and then pipe into amp
>/proc/self/fd/0 (or is it 1?) which worked quite nicely for that. The
>code for that seems to be gone now as I trashed my one drive but it
>shouldn't be hard to write something like that again.

I wrote the above having not read your whole message first. ;o)
May I ask how you trashed your drive? Was it a 2.2.x bug, or
just an accident?

--
Mike A. Harris                   Linux advocate      GNU advocate
Computer Consultant                          Open Source advocate  

The DVORAK keyboard layout RULES! I memorized it in 45 minutes and I don't think I'm ever going back to QWERTY!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/