You are not logged in.
I have a problem when trying to rip and audio CD.
I am using cdrdao, issuing the following command.
cdrdao read-cd data.tocI then convert the .toc to .cue
toc2cue data.toc data.cueI then converted the .bin to individual .wav files.
bchunk -w data.bin data.cue .Unfortunately, when I play the .wav files, they just contain white noise (hissing).
If I rip the CD in Windows (create a .bin and .cue) then use bchunk in Linux to create the .wav files, they play fine.
Thanks for your help,
Harold Clements
Last edited by haroldjclements (2014-05-13 21:07:26)
Offline
Either wrong parameters and/or driver for your drive or a bug. Look up your drive, you might need to correct offset. There are some scripts flying around for ripping. Some use:
cdrdao read-cd --read-raw --datafile data.bin --device DEVICE --driver generic-mmc-raw data.tocI personally use abcde with proper settings for my drive.
Offline
Thank you for your response emeres,
In fact I did try:
cdrdao read-cd --read-raw --datafile data.bin--device /dev/src0 data.tocHowever, this did not using the --driver parameter. I will give that I try and let you know.
Kind Regards,
Harold Clements
* /dev/src0 was the result of cdrdao scanbus.
Offline
There is a list of drives with drivers.
Offline
There is a small chance the CD itself has DRM:
http://en.wikipedia.org/wiki/Cactus_Data_Shield
Although modern drives should be able to compensate for that.
Offline
@headkase I actually laughed at the name Cactus Data Shield.
I had problems ripping PlayStation (PSX) music and got only hissing. The format used there is "special". Other thing that came into my mind was the resolution, is this a 24bit CD by any chance?
Offline
Unfortunately, I still have the problem. I am ripping an Audio Book and have tried with three different discs, I have used the --driver generic-mmc-raw, sony-cdu948 and sony-cdu920 drivers, but to no avail.
Thanks again for your all suggestions.
Kind Regards,
Harold Clements
Last edited by haroldjclements (2014-05-12 16:23:58)
Offline
I have a problem when trying to rip and audio CD
I am using cdrdao
Are you trying to rip an audio CD to .wav or write an audio CD? Or are you trying to duplicate an audio CD?
Step one: Can you play the audio CD?
If so what does the player say about the disk?
Such as
mplayer cdda://
........
Playing cdda://.
Found audio CD with 11 tracks.
Track 1
rawaudio file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 15.8 (15.7) of 3040.9 (50:40.9) 1.0%Then you can dump the tracks. Examples:
mplayer cdda://1 -vc dummy -vo null -ao pcm:file=out.wavor
cdparanoia 1 out.wavOffline
Thank you very much for the replay teckk. I can confirm that (once installed) the response from mplayer cdda:// was the same as in your example. The command mplayer cdda://1 -vc dummy -vo null -ao pcm:file=out.wav did rip the .wav file correctly.
As I am trying script the ripping process, is there a way of either ripping the whole CD, or getting a total number of tracks back so I can loop the above code?
Thanks again for your time,
Harold Clements
Offline
Cd-paranoia and abcde were already suggested. Do you need to do this in bash?
for TRACK in $(seq "$(cdrdao disk-info | awk -F \: '/Last Track/{print $2}')"); do mplayer cdda://$TRACK -vc dummy -vo null -ao pcm:file=$TRACK.wav; doneWorks on paper.
Last edited by emeres (2014-05-13 21:04:46)
Offline
Thank you all again. It was the $(seq 20) that I wanted. I am still not 100% sure how it works, but I will look it up...
Thanks guys,
Harold Clements
(I will now mark this thread as solved)
Offline
man seq'$()' returns values from the subshell ().
Offline