--I did some googling on the subject and adapted a script from one of the suse forums, as well as incorporating some code from another site. The object is to burn the mp3 files themselves to CDR (rather than converting to .wav) in order to get more than the usual 79 minutes of audio.
--This method works in my $30 Audiophase portable MP3 player (I think it was from Target.)
Requires: mkisofs, cdrecord.
Note: the variables CDR_DEVICE and CDR_SPEED are set in my environment, you should export them yourself either in this code (don't forget to chmod +x it) or in your own environment:
export CDR_DEVICE='0,1,0' #== Detect with ' cdrecord -scanbus '
export CDR_SPEED='16 driveropts=burnfree '
Code:#!/bin/bash # # This is a CD-R script for burning mp3 files directly to CD. # The mpg123 program converts mp3s to cdr format, and cdrecord burns # the tracks on the CD. # cd /mnt/cdtemp/audio/ # cvt all fnames to locase: ##for i in *.[Mm][Pp]3; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done # cvt spaces to dashes for i in *.mp3; do mv "$i" `echo $i | tr ' ' '-'`; done # cvt to std extensions for i in *.MP3; do mv "$i" "`basename "$i" .MP3`.mp3"; done # When decoding 22khz MP3 files the output of mpg123 may be distorted. To # fix this, use: ##for i in *.mp3; do mpg123 --rate 44100 --stereo --buffer 3072 --resync \ # -w `basename $i .mp3`.wav $i; done /bin/ls # Burn OTF as .wav (no space savings.:( #for I in *.mp3 # do # mpg123 --cdr - "$I" | \ # cdrecord dev=$CDR_DEVICE -audio -pad -v -speed=$CDR_SPEED -nofix gracetime=5 - #done #cdrecord -eject -v dev=$CDR_DEVICE gracetime=2 -fix #### #> Best Regards, #> Keith # This does what we want, which is create an ISO with mp3 files to save spc: mkisofs -J *.mp3 |\ cdrecord -eject -v dev=$CDR_DEVICE speed=$CDR_SPEED -data - ##mkisofs -J -o /tmp/mymp3s.iso /home/greg/mp3s/ #cdrecord dev=1,0,0 speed=16 /tmp/mymp3s.iso
Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501
$249.99
IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED
$65.00
6 Vintage Computer Tape Reels mainframe 3200 5000 data ibm magnetic processor
$99.00
Lot of 2 Vintage DEC Digital Computer Mainframe VT100 Keyboards Untested
$239.99
IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection
$145.99
Commodore Amiga 500 Computer w/Mouse and Amiga A520 RF Modulator As Is Untested
$299.99
VINTAGE CIRCUIT BOARD A3281-4 chip K1LB553 Soviet Mainframe Computer USSR 1970's
$11.99
Vintage Apple Mac Macintosh 512K Case & Working CRT Only Chasis Mainframe
$99.99
Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare
$4000.00
Xargon 1 Beyond Reality RARE Game Floppy 3.5” Floppy Mainframe Collection
$349.99