From: Mike Jones on

Lets say I have a premastered audio CD called "Side of the Dark Moon",
and lets say the first track and second track run together, sounding like
continuous music, with no audible silent gap.

Lets also say there is no legal problem making a backup copy.

cdrdao copy --speed 8 --device /dev/cd2 --source-device /dev/cd1

....results in a pretty similar copy of a normal music CD, with 2 second
gaps between tracks. Ok for general pop music CDs.

With the "Side of the Dark Moon" disk, it inserts a 2 second gap between
track_1 and track_2, breaking the music continuation. Bah!

So,

cdrdao read-cd --device /dev/cd1 --datafile cd.bin cd.toc

....gets me a data file and a toc file.

cdrdao write --device /dev/cd2 --datafile cd.bin cd.toc

....records a copy, with 2 second gaps between all tracks. Bah!


'man cdrdao' says about the '--fast-toc' flag...

"The resulting CD will sound like the source CD. Only the CD player's
display will behave slightly different in the transition area between two
tracks."

....which sounds like what I need, so,

cdrdao read-cd --fast-toc --device /dev/cd1 --datafile cd.bin cd.toc

....and,

cdrdao write --device /dev/cd2 --datafile cd.bin cd.toc

....records a copy, with 2 second gaps between all tracks. Bah!


I've tried a number of "blindly whacking away at things to see what
happens" and "If this works I'm a genius" experiments, but the magic "Do
a matching copy without forcing 2 second gaps" end result still eludes me.

Does anybody want to show off by pointing out some blindingly obvious
solution that I've missed, along with everybody who's written about
similar problems in the stuff I've found while searching on this one?


XP+FU alt.os.linux

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: tapp on
Mike Jones <luck(a)dasteem.invalid> [Mon, 17 May 2010 22:56:26 +0000]

> Does anybody want to show off by pointing out some blindingly obvious
solution

Use Nero for Linux?




Just kidding... ;-)

Seriously though, I once read that some CD writers insert the gaps with
silence themselves, ignoring the DAO mode, although this was years ago.
OTH, I have used cdparanoia and cdrecord since about 10 years, and they
always produced gap-free burns when I told xcdroast to do so.
From: jens on
Hi Mike,

>Responding to jens:

>> Hi Mike,

>> On 05/18/2010 12:56 AM, Mike Jones wrote:
>>> cdrdao read-cd --fast-toc --device /dev/cd1 --datafile cd.bin cd.toc
>>> cdrdao write --device /dev/cd2 --datafile cd.bin cd.toc

>>> ...records a copy, with 2 second gaps between all tracks. Bah!

>> Use the read-toc command of cdrdao to extract the toc of the cd.

>> HTH, Jens

>...and then?

RTFM!

> I've tried a few things from the man page for cdrdao, like removing the
> START field's value, removing the START field completely, fiddling with
> various values, but all I get is either a disk with forced gaps, or error
> messages.

You don't need to manually fiddle with any value in the toc file.
The read-toc command does that for you. I haven't copied music cds
in a while, but I used to do it the following way:

cdparanoia -d $READ_DEVICE 1- data.wav
cdrdao read-toc --device $READ_DEVICE $TOCFILE
cdrdao read-cddb $TOCFILE
cdrdao write --device $WRITE_DEVICE $TOCFILE

I don't know if cdparanoia still exists, you can
probably also use cdda2wav or cdrdao for reading
data.wav instead.

Jens

XP to alt.os.linux
From: unruh on
On 2010-05-19, jens <invalid(a)invalid.invalid> wrote:
> Hi Mike,
>
>>Responding to jens:
>
>>> Hi Mike,
>
>>> On 05/18/2010 12:56 AM, Mike Jones wrote:
>>>> cdrdao read-cd --fast-toc --device /dev/cd1 --datafile cd.bin cd.toc
>>>> cdrdao write --device /dev/cd2 --datafile cd.bin cd.toc
>
>>>> ...records a copy, with 2 second gaps between all tracks. Bah!
>
>>> Use the read-toc command of cdrdao to extract the toc of the cd.
>
>>> HTH, Jens
>
>>...and then?
>
> RTFM!
>
>> I've tried a few things from the man page for cdrdao, like removing the
>> START field's value, removing the START field completely, fiddling with
>> various values, but all I get is either a disk with forced gaps, or error
>> messages.
>
> You don't need to manually fiddle with any value in the toc file.
> The read-toc command does that for you. I haven't copied music cds
> in a while, but I used to do it the following way:

I think that he starts with one long wave file into which he wants to
put track marks so that he can skip to specific sections. But he is
finding that when he puts in those track marks something is also
inserting 2 sec silence. Since he wants a continuous sound ( ie the
sould shuold just flow through the track mark) he does not like it. He
is asking how he can insert track marks without also inserting 2 sec of
silence. My suspicion is that his .toc file, or his cdrdao commands are
telling it to write the cd as a bunch of tracks (TAO mode-- Track at
once mode)) rather than in DAO --Disk at once--mode.
>
> cdparanoia -d $READ_DEVICE 1- data.wav
> cdrdao read-toc --device $READ_DEVICE $TOCFILE
> cdrdao read-cddb $TOCFILE
> cdrdao write --device $WRITE_DEVICE $TOCFILE
>
> I don't know if cdparanoia still exists, you can
> probably also use cdda2wav or cdrdao for reading
> data.wav instead.
>
> Jens
>
> XP to alt.os.linux
From: Mike Jones on
Responding to jens:

> Hi Mike,
>
>>Responding to jens:
>
>>> Hi Mike,
>
>>> On 05/18/2010 12:56 AM, Mike Jones wrote:
>>>> cdrdao read-cd --fast-toc --device /dev/cd1 --datafile cd.bin cd.toc
>>>> cdrdao write --device /dev/cd2 --datafile cd.bin cd.toc
>
>>>> ...records a copy, with 2 second gaps between all tracks. Bah!
>
>>> Use the read-toc command of cdrdao to extract the toc of the cd.
>
>>> HTH, Jens
>
>>...and then?
>
> RTFM!


Read it, and a lot of stuff I'd have been better not reading.

The man page says one thing, then I get gaps anyway.

Thanks for assuming I'd not bothered BTW.


>> I've tried a few things from the man page for cdrdao, like removing the
>> START field's value, removing the START field completely, fiddling with
>> various values, but all I get is either a disk with forced gaps, or
>> error messages.
>
> You don't need to manually fiddle with any value in the toc file. The
> read-toc command does that for you. I haven't copied music cds in a
> while, but I used to do it the following way:
>
> cdparanoia -d $READ_DEVICE 1- data.wav cdrdao read-toc --device
> $READ_DEVICE $TOCFILE cdrdao read-cddb $TOCFILE
> cdrdao write --device $WRITE_DEVICE $TOCFILE
>
> I don't know if cdparanoia still exists, you can probably also use
> cdda2wav or cdrdao for reading data.wav instead.
>
> Jens
>
> XP to alt.os.linux


cdrdao has a "copy" function, that forced gaps, and a few "tricks" it
says will not put gaps in, that don't seem to work.

If you have an "I did this and it works" sequence, I'm ready for it.

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.