Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

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

  1. #21
    Join Date
    Apr 2006
    Beans
    3,937

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

    Quote Originally Posted by Yellow Pasque View Post
    There's probably a way to copy the tracks like files with gvfs, but you are doing this the hard way. Use a ripper like k3b. It will check the disc for errors with libcdparanoia, convert from .wav to whatever format you want, and automatically name and tag the files for you. Or you can just rip to unnamed, untagged .wav files if that's really what you want for some reason.
    If the music CD disc is working without problem of scratches, I can copy all track.wav files with copy&paste command seamlessly. This is a damaged music CD disc. I can't do it in the same way..

    Performed following test:-
    $ cd ~/Downloads/Test_folder/

    $ abcde -a cddb,read,encode,tag,move,clean -d /dev/cdrom \
    > -j 4 -o flac,vorbis:"-q 6" -V -x
    Code:
    .....
    .....
    .....
    5: Il corsaro: Atto terzo. "Eccomi prigionero!" (Corrado)
    6: Il corsaro: Atto terzo. "Ei dorme?" (Gulnara, Corrado)
    7: Il corsaro: Atto terzo. "Seid la vuole ... Non sai tu che sulla testa" (Gulnara, Corrado)
    8: Il corsaro: Atto terzo. "Sul capo mio discenda" (Corrado, Gulnara)
    9: Il corsaro: Atto terzo. "La terra, il ciel m'abborino..." (Gulnara, Corrado)
    10: Il corsaro: Atto terzo. "Voi tacete..." (Medora, Gulnara, Corrado, ancelle, corsari)
    11: Il corsaro: Atto terzo. "Per me infelice" (Corrado, Medora, Gulnara, ancelle, corsari)
    12: Il corsaro: Atto terzo. "O mio Corrado, appressati" (Medora, Corrado, Gulnara, ancelle, corsari)
    [End] q
    $ ls
    Code:
    abcde.8f09d70c
    $ ls abcde.8f09d70c/
    Code:
    asin.1       cddbdiscid   cddbquery.2  data-musicbrainz  mbdiscid  status
    asin.2       cddbquery    cddbread.1   datasource.1      mbid.1
    cddbchoices  cddbquery.1  cddbread.2   datasource.2      mbid.2
    I'm stuck here.

    Regards
    Last edited by satimis; 4 Weeks Ago at 03:29 PM.

  2. #22
    Join Date
    Jun 2007
    Beans
    14,793

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

    Quote Originally Posted by satimis View Post
    If the music CD disc is working without problem of scratches, I can copy all track.wav files with copy&paste command seamlessly. This is a damaged music CD disc. I can't do it in the same way..
    If it won't automatically mount with gvfs like other music CD's and you can't rip it, then the disc is probably damaged too badly, especially if a normal CD player can't read it. Even if you get the right gvfs mount command, it's not going to work in that case. I hope I'm wrong, but good luck..

  3. #23
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,743

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

    How it works (to the best of my knowledge):

    A ripper works one track at a time using location information in the CD's table of contents (TOC). If the TOC of the CD is damaged, the start bit of tracks may not be readable. So it can't be ripped. There is no fix. If you bought the CD, You need to get a replacement.

  4. #24
    Join Date
    Apr 2006
    Beans
    3,937

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

    Quote Originally Posted by Dennis N View Post
    How it works (to the best of my knowledge):

    A ripper works one track at a time using location information in the CD's table of contents (TOC). If the TOC of the CD is damaged, the start bit of tracks may not be readable. So it can't be ripped. There is no fix. If you bought the CD, You need to get a replacement.
    This is an old music CD

    OK

    Let me try a working music CD disc first.

    What command shall I execute to copy all output of
    $ gio list cdda://sr0

    to a folder after | command

    Thanks
    Last edited by satimis; 4 Weeks Ago at 04:05 PM.

  5. #25
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,743

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

    If it's a good playable CD, then I have only used the GUI ripper/encoders. For example, asunder. It has a preferences dialog with all the encoder settings, like destination, encoding format (mp3, aac, flac, etc), quality, and the format for what the file names look like. I can't advise on the gio thing you show.

    If it's important to replace, being old doesn't mean you can't find another for sale on the internet. New or used.
    Last edited by Dennis N; 4 Weeks Ago at 04:58 PM.

  6. #26
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

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

    You might try using ddrescue to create an image of the CD on disk. ddrescue (gddrescue package name) will keep trying to get all the data is can, assuming the device can be seen by the OS. Let it have 5+ passes to try. If it finishes, then it thinks it got the data/iso. Then you cal look up the specific loop mount required to open it for ripping. The resulting file is like pointing at a real disc device.

    This is just a lead. I can't provide exact commands or steps. Sorry. I've never used it with a music CD, but I have used it with data disks that also had 10% par2 files. It worked well enough that no data was lost.

  7. #27
    Join Date
    May 2008
    Beans
    3,989
    Distro
    Ubuntu 22.04 Jammy Jellyfish

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

    Try this (although my CD was not damaged)
    It will copy all the tracks.
    Code:
    cp -r /run/user/1000/gvfs/cdda:host=sr0 ~/Downloads/Test/
    N.B. Your destination folder has a slightly different name.

    If this is unsuccessful, more advice here https://forums.linuxmint.com/viewtopic.php?t=316604
    Last edited by tea for one; 4 Weeks Ago at 04:36 PM. Reason: Added link

  8. #28
    Join Date
    Apr 2006
    Beans
    3,937

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

    Quote Originally Posted by tea for one View Post
    Try this (although my CD was not damaged)
    It will copy all the tracks.
    Code:
    cp -r /run/user/1000/gvfs/cdda:host=sr0 ~/Downloads/Test/
    N.B. Your destination folder has a slightly different name.

    If this is unsuccessful, more advice here https://forums.linuxmint.com/viewtopic.php?t=316604
    For good music CD disc

    $ cp -r /run/user/1000/gvfs/cdda:host=sr0 ~/Downloads/Test_folder_3/

    $ ls Downloads/Test_folder_2/
    Code:
    'cdda:host=sr0'
    $ ls Downloads/Test_folder_2/cdda\:host\=sr0/
    Code:
    'Track 10.wav'  'Track 15.wav'  'Track 1.wav'   'Track 24.wav'  'Track 6.wav'
    'Track 11.wav'  'Track 16.wav'  'Track 20.wav'  'Track 2.wav'   'Track 7.wav'
    'Track 12.wav'  'Track 17.wav'  'Track 21.wav'  'Track 3.wav'   'Track 8.wav'
    'Track 13.wav'  'Track 18.wav'  'Track 22.wav'  'Track 4.wav'   'Track 9.wav'
    'Track 14.wav'  'Track 19.wav'  'Track 23.wav'  'Track 5.wav'
    For damaged music CD disc
    It can be mounted

    On File-manager:
    It also shows all track .wav files

    $ mkdir ~/Downloads/Test_folder_3
    $ cp -r /run/user/1000/gvfs/cdda:host=sr0 ~/Downloads/Test_folder_3/
    It holds there for prolonged time, no files copied.

    Regards

  9. #29
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,743

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

    cdrdao (see the link in post #27 by tea for one) looks like it is a utility that would help in recovery when the TOC has errors. It's new to me and I'm making note of it if ever needed. I suggest you try what is done there. It's probably already installed (see below). So there is a way to possibly recover the music, but the original CD will never play again. All you can do is burn a new CD once all the music is recovered.

    Possible useful utilities for your task:

    Code:
    brasero/mantic 3.12.3-2 amd64
      CD/DVD burning application for GNOME
    
    cdrdao/mantic,now 1:1.2.4-3 amd64 [installed,automatic]
      records CDs in Disk-At-Once (DAO) mode
    
    cue2toc/mantic 0.4-5.1 amd64
      converts CUE files to cdrdao's TOC format

  10. #30
    Join Date
    Apr 2006
    Beans
    3,937

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

    Quote Originally Posted by Dennis N View Post
    cdrdao (see the link in post #27 by tea for one) looks like it is a utility that would help in recovery when the TOC has errors. It's new to me and I'm making note of it if ever needed. I suggest you try what is done there. It's probably already installed (see below). So there is a way to possibly recover the music, but the original CD will never play again. All you can do is burn a new CD once all the music is recovered.

    Possible useful utilities for your task:

    Code:
    brasero/mantic 3.12.3-2 amd64
      CD/DVD burning application for GNOME
    
    cdrdao/mantic,now 1:1.2.4-3 amd64 [installed,automatic]
      records CDs in Disk-At-Once (DAO) mode
    
    cue2toc/mantic 0.4-5.1 amd64
      converts CUE files to cdrdao's TOC format
    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?

Page 3 of 5 FirstFirst 12345 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
  •