<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
On 06/08/2009 08:15 AM, Mark Knecht wrote:
<blockquote
 cite="mid:5bdc1c8b0906071815w4c4a7e46sd5d1a0219709dabc@mail.gmail.com"
 type="cite">
  <pre wrap="">On Sun, Jun 7, 2009 at 11:33 AM, Mark Knecht<a class="moz-txt-link-rfc2396E" href="mailto:markknecht@gmail.com">&lt;markknecht@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Sun, Jun 7, 2009 at 11:11 AM, Mark Knecht<a class="moz-txt-link-rfc2396E" href="mailto:markknecht@gmail.com">&lt;markknecht@gmail.com&gt;</a> wrote:

- FOLLOW-UP

&lt;SNIP&gt;
    </pre>
    <blockquote type="cite">
      <pre wrap="">k3b seems to use:

/usr/bin/cdrecord -v gracetime=2 dev=/dev/hda speed=40 -raw96r
driveropts=burnfree -clone -eject /home/mark/backups/k3b_0.img

to build an image file for what that program calls a Clone. I then see this:

/usr/bin/readcd -v dev=/dev/hda f=/home/mark/backups/k3b_0.img -clone
retries=128 ts=128k

I suspect to write the CD-Rs that aren't working in my car.
      </pre>
    </blockquote>
    <pre wrap="">&lt;SNIP&gt;

Obviously I have the two commands above backwards.

Clone read of CD:

readcd -v dev=/dev/hda f=/home/mark/backups/k3b_0.img -clone retries=128 ts=128k

The use of the readcd -clone option puts the whole disk info into a single file.

Clone write of CD:

cdrecord -v gracetime=2 dev=/dev/hda speed=40 -raw96r
driveropts=burnfree -clone -eject /home/mark/backups/k3b_0.img

    </pre>
  </blockquote>
</blockquote>
<br>
I'm not sure about the clone function. I usually use cdda2wav ||
cdrecord. I always use cdrecord -dao&nbsp; -useinfo for gapless tracks.<br>
<br>
There is also an option for reading a toc file. It's somewhere in the
--help section. You can also check the cdrecord website for a complete
instruction manual and howto.<br>
<br>
hth<br>
<br>
<blockquote
 cite="mid:5bdc1c8b0906071815w4c4a7e46sd5d1a0219709dabc@mail.gmail.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">The -raw96r option tells cdrecord it's reading a Clone type file.

According to the man page gracetime=2 is not allowed as it's below a
minimum of 3.

burnfree is write drive dependent.

- Mark

    </pre>
  </blockquote>
  <pre wrap=""><!---->
So does anyone use cdrecord with the info obtained by cdda2wav to
write CDs? Here's the files:

Mark@gamer ~
$ ls aud*
audio.cddb     audio_02.wav  audio_05.inf  audio_07.wav  audio_10.inf
audio.cdindex  audio_03.inf  audio_05.wav  audio_08.inf  audio_10.wav
audio_01.inf   audio_03.wav  audio_06.inf  audio_08.wav  audio_11.inf
audio_01.wav   audio_04.inf  audio_06.wav  audio_09.inf  audio_11.wav
audio_02.inf   audio_04.wav  audio_07.inf  audio_09.wav

Mark@gamer ~

Mark@gamer ~
$ cat audio.cddb
# xmcd
#
# Track frame offsets:
#
# 150
# 23177
# 44320
# 63367
# 76837
# 117555
# 132102
# 142832
# 162057
# 186125
# 217632
#
# Disc length: 3521 seconds
#
# Revision: 0
# Submitted via: cdda2wav 2.01.01a60_cygwin32_nt_1.5.25(0.156-4-2)_i686_i686
DISCID=870dbf0b
DTITLE=IZZ / Sliver of a Sun
DYEAR=
DGENRE=
TTITLE0=Endless Calling
TTITLE1=I Get Lost
TTITLE2=Lornadoone
TTITLE3=She Walked Out the Door
TTITLE4=Assurance
TTITLE5=Take it Higher
TTITLE6=Double Bass
TTITLE7=Just a Girl
TTITLE8=Meteor
TTITLE9=Razor
TTITLE10=Where I Belong
EXTD=
EXTT0=
EXTT1=
EXTT2=
EXTT3=
EXTT4=
EXTT5=
EXTT6=
EXTT7=
EXTT8=
EXTT9=
EXTT10=
PLAYORDER=

Mark@gamer ~
$

Mark@gamer ~
$ cat audio.cdindex
&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
&lt;!DOCTYPE CDInfo SYSTEM <a class="moz-txt-link-rfc2396E" href="http://www.musicbrainz.org/dtd/CDInfo.dtd">"http://www.musicbrainz.org/dtd/CDInfo.dtd"</a>&gt;

&lt;CDInfo&gt;
   &lt;Title&gt;Sliver of a Sun&lt;/Title&gt;
   &lt;NumTracks&gt;11&lt;/NumTracks&gt;

   &lt;IdInfo&gt;
      &lt;DiskId&gt;
         &lt;Id&gt;YasSG0mWGVxInJOH.LN2lnPcBoY-&lt;/Id&gt;
      &lt;/DiskId&gt;
   &lt;/IdInfo&gt;

   &lt;SingleArtistCD&gt;
      &lt;Artist&gt;IZZ&lt;/Artist&gt;
      &lt;Track Num="1"&gt;
         &lt;Name&gt;Endless Calling&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="2"&gt;
         &lt;Name&gt;I Get Lost&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="3"&gt;
         &lt;Name&gt;Lornadoone&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="4"&gt;
         &lt;Name&gt;She Walked Out the Door&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="5"&gt;
         &lt;Name&gt;Assurance&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="6"&gt;
         &lt;Name&gt;Take it Higher&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="7"&gt;
         &lt;Name&gt;Double Bass&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="8"&gt;
         &lt;Name&gt;Just a Girl&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="9"&gt;
         &lt;Name&gt;Meteor&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="10"&gt;
         &lt;Name&gt;Razor&lt;/Name&gt;
      &lt;/Track&gt;
      &lt;Track Num="11"&gt;
         &lt;Name&gt;Where I Belong&lt;/Name&gt;
      &lt;/Track&gt;
   &lt;/SingleArtistCD&gt;
&lt;/CDInfo&gt;

Mark@gamer ~
$

Mark@gamer ~
$ cat audio_01.inf
#created by cdda2wav 2.01.01a60_cygwin32_nt_1.5.25(0.156-4-2)_i686_i686 06/07/09
 17:08:52
#
CDINDEX_DISCID= 'YasSG0mWGVxInJOH.LN2lnPcBoY-'
CDDB_DISCID=    0x870dbf0b
MCN=
ISRC=           0P-400-12-00051
#
Albumperformer= 'IZZ'
Performer=      'IZZ'
Albumtitle=     'Sliver of a Sun'
Tracktitle=     'Endless Calling'
Tracknumber=    1
Trackstart=     0
# track length in sectors (1/75 seconds each), rest samples
Tracklength=    23027, 0
Pre-emphasis=   no
Channels=       2
Copy_permitted= once (copyright protected)
Endianess=      little
# index list
Index=          0
Index0=         -1
# md5 sum
MD5-offset=     44

Mark@gamer ~
$

What's the process of writing the CD with this information that links
the copy I build up to cddb, has the right text for track names and
artist, etc.?

Thanks,
Mark
_______________________________________________
Linux-audio-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a>
  </pre>
</blockquote>
</body>
</html>