Subject: Re: [linux-audio-user] cdaudio format
From: Richard Plana (richip_AT_calgary.linux.ca)
Date: Thu Nov 01 2001 - 17:38:14 EET
Chuck Busby wrote:
> cdrecord -v speed = 12 dev=0,0 -pad -audio track*.cdaudio
>
> I put my tracks named track01.cdaudio .. track12.cdaudio into a
> directory and run this command and it burns the cd in the order I
> wish. Unfortunately this was found several months ago and I only wrote
> down the command in my notebook. I relied upon my feeble memory to
> recall what format the audio files should be. I recall I had to run
> the .wav files through sox to get it, but I am not sure what the
> parameters fro the sox command were. Please help.
IIRC, there are two ways of doing it: you can either have cdrecord burn
the image directly from a .wav file or you can use sox to convert the
file to CD-R format (.cdr).
From cdrecord(1):
-audio If this flag is present, all subsequent tracks are
written in CD-DA (similar to Red Book) audio for-
mat. The file with data for this tracks should
contain stereo, 16-bit digital audio with 44100
samples/s. The byte order should be the following:
MSB left, LSB left, MSB right, LSB right, MSB left
and so on. The track should be a multiple of 2352
bytes. It is not possible to put the master image
of an audio track on a raw disk because data will
be read in multiple of 2352 bytes during the
recording process.
If a filename ends in .au or .wav the file is con-
sidered to be a structured audio data file.
Cdrecord assumes that the file in this case is a
Sun audio file or a Microsoft .WAV file and
extracts the audio data from the files by skipping
over the non-audio header information. ...
--*Richard Plana, B.Sc., CCNA* Software Developer
This archive was generated by hypermail 2b28 : Thu Nov 01 2001 - 17:36:26 EET