You are not logged in.

#1 2014-05-08 18:33:35

haroldjclements
Member
Registered: 2010-07-19
Posts: 30

[SOLVED] cdrdao returning white noise / hiss

I have a problem when trying to rip and audio CD.

I am using cdrdao, issuing the following command.

cdrdao read-cd data.toc

I then convert the .toc to .cue

toc2cue data.toc data.cue

I 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

#2 2014-05-08 19:24:08

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cdrdao returning white noise / hiss

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.toc

I personally use abcde with proper settings for my drive.

Offline

#3 2014-05-08 21:07:11

haroldjclements
Member
Registered: 2010-07-19
Posts: 30

Re: [SOLVED] cdrdao returning white noise / hiss

Thank you for your response emeres,

In fact I did try:

cdrdao read-cd --read-raw --datafile data.bin--device /dev/src0 data.toc

However, 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

#4 2014-05-08 21:30:19

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cdrdao returning white noise / hiss

There is a list of drives with drivers.

Offline

#5 2014-05-08 21:37:43

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: [SOLVED] cdrdao returning white noise / hiss

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

#6 2014-05-08 23:41:01

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cdrdao returning white noise / hiss

@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

#7 2014-05-12 16:23:02

haroldjclements
Member
Registered: 2010-07-19
Posts: 30

Re: [SOLVED] cdrdao returning white noise / hiss

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

#8 2014-05-13 16:42:28

teckk
Member
Registered: 2013-02-21
Posts: 575

Re: [SOLVED] cdrdao returning white noise / hiss

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.wav

or

cdparanoia 1 out.wav

Offline

#9 2014-05-13 19:01:30

haroldjclements
Member
Registered: 2010-07-19
Posts: 30

Re: [SOLVED] cdrdao returning white noise / hiss

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

#10 2014-05-13 20:52:54

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cdrdao returning white noise / hiss

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; done

Works on paper.

Last edited by emeres (2014-05-13 21:04:46)

Offline

#11 2014-05-13 21:06:41

haroldjclements
Member
Registered: 2010-07-19
Posts: 30

Re: [SOLVED] cdrdao returning white noise / hiss

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

#12 2014-05-13 21:16:38

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cdrdao returning white noise / hiss

man seq

'$()' returns values from the subshell ().

Offline

Board footer

Powered by FluxBB