Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 50

Thread: How to rescue .wav files on the scratched music CD.

  1. #31
    Join Date
    May 2008
    Beans
    4,320
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: How to rescue .wav files on the scratched music CD.

    Quote Originally Posted by satimis View Post
    Non of them installed here
    post #27 is for Linux Mint. I'm now working on Ubuntu 22.04. I don't know whether the steps work here?
    Post 29 from Dennis N suggests a good way forward.

    Brasero, cdrdao and cue2toc are in the 22.04 universe repository
    Insert your CD > Open brasero > Disc copy > Select a disc to write to > Image File > Properties (to choose your destination folder)
    The Disc copy operation will output two files:-
    Audio Disc.toc
    Audio Disc.toc.bin
    Have a look at the audio disc.toc (table of contents) and see if there is any corruption/missing details.

    cdemu is an active project and is available via a ppa https://launchpad.net/~cdemu/+archive/ubuntu/ppa

    I'm almost tempted to damage a CD and give this a go

  2. #32
    Join Date
    Apr 2006
    Beans
    4,015

    Re: How to rescue .wav files on the scratched music CD.

    Quote Originally Posted by tea for one View Post
    Post 29 from Dennis N suggests a good way forward.

    Brasero, cdrdao and cue2toc are in the 22.04 universe repository
    Insert your CD > Open brasero > Disc copy > Select a disc to write to > Image File > Properties (to choose your destination folder)
    The Disc copy operation will output two files:-
    Audio Disc.toc
    Audio Disc.toc.bin
    Have a look at the audio disc.toc (table of contents) and see if there is any corruption/missing details.

    cdemu is an active project and is available via a ppa https://launchpad.net/~cdemu/+archive/ubuntu/ppa

    I'm almost tempted to damage a CD and give this a go
    Performed following test

    1. Install Brasero
    2. Insert the damaged music CD
    3. Start Brasero -> Copy a CD > select the damaged music CD

    It just hangs on screen without much progress. Please see attached screenshot;
    screenshot_copying_cd.png

    Finally I have to cancel it.

    Mount the damaged music CD (GUI). File manager show all track .wav files. Please see attached screenshot

    Regards
    Attached Images Attached Images

  3. #33
    Join Date
    May 2008
    Beans
    4,320
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: How to rescue .wav files on the scratched music CD.

    Which option did you select?
    It should be "Create Image" as attachment.
    Yes, it is slow and may take longer than listening to the CD itself - possibly depends on how much damage the CD has suffered.

    You still have the terminal option using cdrdao (as detailed in the link from post 27)?
    Attached Images Attached Images

  4. #34
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,846

    Re: How to rescue .wav files on the scratched music CD.

    It just hangs on screen without much progress. Please see attached screenshot; Finally I have to cancel it.
    It would be nice to see Brasero give an error message. You may be more likely to see one with the cdrdao command. I decided to check it out. There were several command options, but I used it to make a backup copy of a CD in two steps:

    In terminal change to a working directory first. Then,
    1) make an data file of the source CD and a TOC file (this step is what Brasero was doing, I think)
    Code:
    cdrdao read-cd --datafile mytest.bin mytest.toc
    At this point, you can pause and examine the TOC for anomalies. It's a text file.
    I continued to make a copy of my disk.
    2) from the same working directory, write a copy to a blank CD-R
    Code:
    cdrdao write mytest.toc
    If step 1 fails as yours did with Brasero, you may get some error message with this utility. At least you can monitor the progress.

    Some other rescue tools that look relevant to your task:

    Code:
    ddrescueview/mantic 0.4.5-1 amd64
      graphical viewer for GNU ddrescue map files
    
    ddrutility/mantic 2.8-4 amd64
      set of data recovery utilities for use with GNU ddrescue
    
    forensics-extra/mantic,mantic 2.49 all
      Forensics Environment - extra console components (metapackage)
    
    gddrescue/mantic 1.27-1 amd64
      GNU data recovery tool
    
    myrescue/mantic 0.9.8-3 amd64
      rescue data from damaged disks
    
    safecopy/mantic 1.7-7 amd64
      data recovery tool for problematic or damaged media
    Last edited by Dennis N; March 27th, 2024 at 02:19 AM.

  5. #35
    Join Date
    Apr 2006
    Beans
    4,015

    Re: How to rescue .wav files on the scratched music CD.

    Quote Originally Posted by Dennis N View Post
    It would be nice to see Brasero give an error message. You may be more likely to see one with the cdrdao command. I decided to check it out. There were several command options, but I used it to make a backup copy of a CD in two steps:

    In terminal change to a working directory first. Then,
    1) make an data file of the source CD and a TOC file (this step is what Brasero was doing, I think)
    Code:
    cdrdao read-cd --datafile mytest.bin mytest.toc
    At this point, you can pause and examine the TOC for anomalies. It's a text file.
    I continued to make a copy of my disk.
    2) from the same working directory, write a copy to a blank CD-R
    Code:
    cdrdao write mytest.toc
    If step 1 fails as yours did with Brasero, you may get some error message with this utility. At least you can monitor the progress.

    Some other rescue tools that look relevant to your task:

    Code:
    ddrescueview/mantic 0.4.5-1 amd64
      graphical viewer for GNU ddrescue map files
    
    ddrutility/mantic 2.8-4 amd64
      set of data recovery utilities for use with GNU ddrescue
    
    forensics-extra/mantic,mantic 2.49 all
      Forensics Environment - extra console components (metapackage)
    
    gddrescue/mantic 1.27-1 amd64
      GNU data recovery tool
    
    myrescue/mantic 0.9.8-3 amd64
      rescue data from damaged disks
    
    safecopy/mantic 1.7-7 amd64
      data recovery tool for problematic or damaged media
    Performed following steps
    Insert the same damaged music CD disc, without mounting it.

    $ mkdir ~/Downloads/Test_folder_4
    $ cd ~/Downloads/Test_folder_4/
    $ ls

    no output. It is an empty folder

    $ which cdrdao
    Code:
    /usr/bin/cdrdao
    $ cdrdao read-cd --datafile mytest.bin mytest.toc
    Code:
    ....
    ....
    Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
    
    Reading toc and track data...
    
    Track   Mode    Flags  Start                Length
    ------------------------------------------------------------
     1      AUDIO   0      00:00:33(    33)     05:27:07( 24532)
     2      AUDIO   0      05:27:40( 24565)     06:50:30( 30780)
     3      AUDIO   0      12:17:70( 55345)     05:28:50( 24650)
     4      AUDIO   0      17:46:45( 79995)     08:24:48( 37848)
     5      AUDIO   0      26:11:18(117843)     09:02:40( 40690)
     6      AUDIO   0      35:13:58(158533)     06:56:72( 31272)
     7      AUDIO   0      42:10:55(189805)     10:14:05( 46055)
    Leadout AUDIO   0      52:24:60(235860)
    
    PQ sub-channel reading (audio track) is supported, data format is BCD.
    Raw P-W sub-channel reading (audio track) is supported.
    Cooked R-W sub-channel reading (audio track) is supported.
    Copying audio tracks 1-7: start 00:00:00, length 52:24:60 to "mytest.bin"...
    Track 1...
    Found ISRC code.
    02:22:000:57:00
    (the time keeps on changing but very slow. The LED light of DVD-Writer is continue flashing -> Stop -> Flashing again etc.)

    It is now more than an hour passed;
    Code:
    mytest.bin	105.6 MB
    No mytest.toc created. The LED light of DVD-Writer stops flashing.

    I have to stop it and eject the music CD disc

    Regards

  6. #36
    Join Date
    Apr 2006
    Beans
    4,015

    Re: How to rescue .wav files on the scratched music CD.

    Hi@DennisN

    Continued on my #35 above

    The easy way to rescue undamaged .wav files is with "copy&paste" command.

    Steps:
    1. Insert the damaged music CD disc and mount it.
    2. The track.wav files will be displayed on File Manager
    3. Copy&Paste the track.wav files to a folder(pre-created) on the storage drive, ONE-by-ONE (not selecting all track.wav files)
    4. Play the copied track.wav files on "VLC Media Player" to check which track.wav file damaged. The clicking noise will inform me

    Then I can burn the good track.wav files on a new CD disc.

    Is there any way to rectify the damaged track.wav files?

    Regards

  7. #37
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,846

    Re: How to rescue .wav files on the scratched music CD.

    it appears that it is reading the TOC, but then can't copy the data of track 1?

    My copy output was this:

    Code:
    Copying audio tracks 1-10: start 00:00:00, length 25:53:70 to "mytest.bin"...
    Track 1...
    Track 2...
    Found pre-gap: 00:00:24
    Track 3...
    Found pre-gap: 00:00:06
    Track 4...
    Found pre-gap: 00:00:15
    Track 5...
    Found pre-gap: 00:00:13
    Track 6...
    Found pre-gap: 00:00:12
    Track 7...
    Found pre-gap: 00:00:02
    Track 8...
    Found pre-gap: 00:00:14
    Track 9...
    Found pre-gap: 00:00:06
    Track 10...
    Found pre-gap: 00:00:03
    Found 112 Q sub-channels with CRC errors.
    Found disk catalogue number.
    Reading of toc and track data finished successfully.
    Copying (ripping) took about 8 minutes. Burning the new CD took another 2 minutes.

    Your output says "Found ISRC code." Mine didn't. That's a difference, but right now I don't know what that implies. Was track 1 (where it got stuck) one of the "bad" files?
    I wonder if cdrdao with the --read-raw option added would make a difference. The Linux Mint guy used it.
    Code:
    cdrdao read-cd --read-raw --datafile mytest.bin mytest.toc
    It's good that you could copy the "good" files with the file manager. I suspect a rip and encode program like Asunder could too, because you can select those specific good files to copy. It would encode them to flac or other format as well.

    For rescuing the remaining "bad" files: you might try one of the rescue utilities shown in post #34: gddrescue and myrescue.

    Information on ddrescue:
    https://www.gnu.org/software/ddrescue/ddrescue.html

    General Help:
    https://www.makeuseof.com/tag/how-to...d-cds-or-dvds/

  8. #38
    Join Date
    Apr 2006
    Beans
    4,015

    Re: How to rescue .wav files on the scratched music CD.

    Hi@Dennis N

    There are 7 track.wav files displayed on File Manager. Please refers to the screenshot attachment on #32 above
    Code:
    Track 1.wav	working perfect without problem
    Track 2.wav	damaged with cracking noise on playing
    Track 3.wav	damaged with cracking noise on playing
    Track 4.wav	damaged with cracking noise on playing
    Track 5.wav	damaged with cracking noise on playing
    Track 1.wav	working perfect without problem
    Track 1.wav	working perfect without problem
    3 track.wav files are working perfect.

    I'm now looking around to see whether there is a solution removing the cracking noise

  9. #39
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to rescue .wav files on the scratched music CD.

    Quote Originally Posted by satimis View Post
    Is there any way to rectify the damaged track.wav files?
    1. Buy a replacement disc.

    Looks like all other options have already been posted. Whether you tried them all, is a different question.

  10. #40
    Join Date
    Dec 2014
    Beans
    2,688

    Re: How to rescue .wav files on the scratched music CD.

    Another option (after making copies of the readable tracks) would be to try to resurface the disk. Obviously this can go horribly wrong, but if you've got the readable tracks of the disk copied first there's no reason not to try.

    A bit of background: a CD is made up of multiple layers: A carrier of clear plastic on top of which there's the actual data layer (stamped into the carrier on mass fabricated discs; on burned CDs it's a layer of a some kind of lacquer that reacts to strong laser light by changing some of it's properties) on top of that there's a reflective layer and then the label. So in contrast to what everyone believes the label side is actually the side of a CD that's really susceptible to damage. There's only a few µm of material between your data and any harm on that side. Check the CD by holding it up against a light-source to see whether there's any damage of that kind. If there is, then you might as well not bother.

    Damage to the clear underside of the disk on the other hand is not quite as problematic. While scratches (or dirt) on that side might make reading impossible, the data is still there and polishing off a thin layer of material using a soft cloth and some kind of abrasive (or - in the case of dirt - just simply cleaning) might make it readable again. You can find tutorials on the net and there are also professional services who will do it for a price that's a lot less than the price of a new CD.

    Holger

Page 4 of 5 FirstFirst ... 2345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •