need to burn an audio CD

Thomas Milne tbrucemilne-TcoXwbchSccMMYnvST3LeUB+6BGkLq7r at public.gmane.org
Fri Oct 30 06:29:00 UTC 2009


On Fri, Oct 30, 2009 at 1:29 AM, Michael Lauzon <mlauzon-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> On Thu, Oct 29, 2009 at 11:43 PM, Thomas Milne
> <tbrucemilne-TcoXwbchSccMMYnvST3LeUB+6BGkLq7r at public.gmane.org> wrote:
>> Should be easy, right? I googled it, suggestions are many years old
>> and refer to applications that do not even exist any more. That makes
>> sense, because I haven't burned an audio CD in years.
>>
>> All I want to do is decode some mp3's and burn the resulting wav's as
>> an audio CD, but for the life of me I can't remember how the heck I
>> used to do it. I see there is an 'mp3towav' on my system, and I think
>> what I used to use was cdrdao, and I needed a TOC file or something?
>>
>> Anyway, I'm supposed to have this for my daughter for tomorrow morning
>> for a Halloween party, so, any tips greatly appreciated.
>>
>> --
>> TBM
>> --
>>
>
> Use k3b (http://k3b.org/).
>

That's kind of a hammer to kill an ant ;)

Turns out this is all I really need:

1.

mkdir wav
for file in *.mp3 ; do
   lame --decode "$file" "wav/$file.wav"
done

2.

cd wav
{
  echo "CD_DA"
  for file in *.wav ; do
    echo "TRACK AUDIO"
    echo "FILE \"$file\" 0"
  done
} > toc


3.

cdrdao write --speed 8 toc

-- 
TBM
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list