[paranoia] ripping whole cd X single track

Peter Hackenberg phackenberg at aip.de
Fri Oct 15 01:20:10 PDT 1999



On Thu, 14 Oct 1999, Erik Olofsson wrote:

> Peter Hackenberg wrote:
> 
> > I also use this method and concatenate the .wav files afterwards.
> > To my experience this gives the best result.
> 
> How do you concatenate the .wav files?

I use some home written (very alpha) software for speed reasons.
I will give the source away (GPL), if there is any interest.
On the other hand you can easily do it with sox:
 convert the wav files to raw data, concatenate them, and convert it back
 to wav, i.e., add the wav header again.
 I don't remember the syntax of sox, but once I did something like 
 this (bash shell):
 (sox in1.wav -raw -; sox in2.wav -raw -) | sox -raw - out.wav
 I.e., pipe the converted in1.wav and in2.wav to another sox which
 converts it back to out.wav. I don't have the sox manpage here,
 so the above given example is probably totally wrong.

> > Unfortunately it is not only a visual problem. The algorithm used
> > by cdparanoia tends to shorten each gap, which is in between the tracks.
> > In the end, the last track starts up to 0.5 seconds too early (the end of
> > the .wav file is padded with zeros). If you burn the cd with cdrdao
> > and tell your cd player to play the last track, then you miss the first
> > 0.5 seconds of this track, i.e., the track marks don't match the music
> > anymore.
> 
> Does the above mentioned concatenation solve this annoying problem?

Yes, it does, because the cd-rom is repositioned at the true beginning of
each track when the ripping begins. Of course, this works only if your
cd-rom is able to position at the exact location (as most newer drives
will/should do).  IMHO this is true, if the typical output of cdparanoia
looks like this

[                              -]

while ripping one track. The last "-" comes IMHO from the aligning
algorithm, which is confused by the zeros of the gap.

Peter

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia mailing list