Stan’s Obligatory Blog

Happy Halloween

11/18/2003

Filed under: — stan @ 6:23 pm

I installed the ‘audio/mad’ port which can convert MP3 to PCM:

moe# madplay -v -o raw:Entropy.pcm Entropy.mp3
MPEG Audio Decoder 0.14.2 (beta) - Copyright (C) 2000-2001 Robert Leslie
     Title: Entropy
    Artist: MC Hawking
     Album: A Brief History of Rhyme
      Year: 1994
     Genre: Rap
   Comment: www.mchawking.com
 00:03:21 Layer III, 128 kbps, 44100 Hz, joint stereo (MS), no CRC
7722 frames decoded (0:03:21.7), +0.2 dB peak amplitude, 7 clipped samples

Then to burn them to a CD:

moe# burncd -f /dev/acd0a audio  mighty.pcm emchawking.pcm creation.pcm crazy.pcm LedZeppelinMedley.pcm JesseHelms.pcm Entropy.pcm fixate
next writeable LBA 0
writing from file mighty.pcm size 20664 KB
written this track 20664 KB (100%) total 20664 KB
next writeable LBA 9149
writing from file emchawking.pcm size 36306 KB
written this track 36306 KB (100%) total 56971 KB
next writeable LBA 25108
writing from file creation.pcm size 24408 KB
written this track 24408 KB (100%) total 81380 KB
next writeable LBA 35887
writing from file crazy.pcm size 24304 KB
written this track 24305 KB (100%) total 105686 KB
next writeable LBA 46621
writing from file LedZeppelinMedley.pcm size 54301 KB
written this track 54302 KB (100%) total 159988 KB
next writeable LBA 70415
writing from file JesseHelms.pcm size 33480 KB
written this track 33481 KB (100%) total 193470 KB
next writeable LBA 85144
writing from file Entropy.pcm size 34749 KB
written this track 34749 KB (100%) total 228219 KB
fixating CD, please wait..

Filed under: — stan @ 2:46 pm

Here is the rundown on the instability problem. The system hung and had to be unwedged on:

2003/11/01  08:28
            20:14
2003/11/02  05:44
2003/11/03  21:59
2003/11/05  13:13
            17:56
            21:48
2003/11/09  15:38
            19:50
2003/11/11  11:44
2003/11/12  09:09
2003/11/15  11:45

The average uptime between hangs was 28 hours, with a maximum of 78 hours.

Filed under: — stan @ 8:25 am

Found out how to read audio CDs:

dd if=/dev/acd0t1 of=test.dat bs=2352

This reads track 1 off the CD and puts in file as raw PCM data. Also, it is necessary to create the ‘acd0tX’ devices:

cd /dev
./MAKEDEV acd0t99

Powered by WordPress