wiki:Cdrtools

Cdrtools

Burn mp3s onto an Audio CD

If you have lame installed you can burn mp3s to a CD that will play in an ordinary audio CD player with a simple script like this

#!/bin/bash -e
count=0

for TRACK in *
do
lame --decode "$TRACK" $((++count)).wav
rm -f "$TRACK"
done

cdrecord dev=/dev/hdc -audio -pad $(ls)

Change dev=/dev/hdc to suit your system.

Get a copy of the tracks you want into one folder, cd into the folder, put a blank CD in the drive and then run the script

Last modified 10 months ago Last modified on 12/19/2023 09:10:01 PM
Note: See TracWiki for help on using the wiki.