View Source

Audio CD Preservation

*Detailed description*

A large collection of, predominantly audio, CDs needs preserving. The CD's initially need stabilising onto magnetic storage medium to prevent preservation issues relating to disc-rot. The content of these disc images then needs to be extracted and catalogued. The following discusses a number of tools to tackle the first part - disc stabilisation.

*{+}Imaging Tools{+}*

The following two tools provided the ability to create a disc image (.bin/.iso with .cue track listings file) of an audio CD with mechanisms to extract tracks to WAV files.

*{_}cdrdao (Linux)_*

One solution on Linux/Ubuntu was to read a binary from the CD using [cdrdao|] using the following command from the mounted cdrom device (here /dev/cdrom):

cdrdao read-cd --device /dev/cdrom --read-raw --datafile source.bin source.toc
In order to verify if it is possible to extract wav files from the binary file, the table of contents (source.toc) was first converted to a [cue|] file using toc2cue (included in the [cdrdao|] package):

toc2cue source.toc source.cue
and the [cue|] file was then used together with the binary file to extract wav files using [bchunk|]:

bchunk -v -w -s source.bin source.cue source

*{_}ISOBuster (Windows)_*
- GUI based tool (although I believe it can be used as a command line tool also)
- Successfully creates .iso/.cue combination of audio CD
- ISOBuster can open the .cue file, display track listing and extract .wav files for each audio tracks
- Commercial product
-* There are 3 versions with different levels of functionality (free; personal - US$40 and professional - US$60)
-* [|]
-* From what I can gather from the above link, the free version can be used anywhere, even for commercial purposes.

*_.cue file - metadata{_}*
ISOBuster generates a .iso/.cue file pair as a audio CD disc image. Here is the contents of the .cue file generated for a 4-track audio CD (note there is no descriptive metadata about the tracks or the disc itself):
FILE "DiscMalta.iso" BINARY


  REM SESSION 01        ; Not supported by other applications (*)
      INDEX 01 00:00:00
      REM MSF: 00:00:00 = LBA: 0
      INDEX 01 17:19:60
      REM MSF: 17:19:60 = LBA: 77985
      INDEX 01 31:40:65
      REM MSF: 31:40:65 = LBA: 142565
      INDEX 01 44:30:55
      REM MSF: 44:30:55 = LBA: 200305

REM (*) SESSION directives are unfortunately not properly supported
REM     'out there'.  IsoBuster however supports them !

*{+}Other Imaging Tools{+}*

Other tools that were considered and/or tested

- [|]
- Installed self-booting image onto USB drive
- Rebooted laptop and booted from USB drive
- OSFClone tool cannot "see" CD drive (on laptop)
-- It could see USB drives and hard drives, just not the CD drive
-- Could try a USB CD drive?

*{_}aimage (Ubuntu linux - live disk via bootable USB)_*
- [|]
- Install via afflib-tools package (sudo apt-get)
- Tool can create AFF files
- Used this tool to create an AFF image from a Data CD; the image is mountable (and accessible) via OSFMount
- No successful creation of an audio CD AFF image
-- I suspect the linux device (/dev/loop) I thought was the CD device was actually pointing to something else

*{_}guymager _*
- [|]
- Installed on a Ubuntu live disk via bootable USB
- Creates AFF, EWF and DD image files
- A scan of drives would show the CD drive, however when trying to capture an image, the tool reports errors (bad sectors, I think).

- [|]
- Tool not tried
- Mentions guymager, hence testing of that tool

*{+}Virtual Box Issues{+}*
Whilst it is possible to use the laptop's CD drive with a data CD in a Linux VM image (Ubuntu 12.04), it seems that VirtualBox cannot "passthrough" audio CD's from the host CD drive to the VM guest. This essentially prevents any use/testing of linux disk imaging tools via a VM image using VirtualBox (for audio CDs).

*Solution Champion*

[~carlwilson-bl] / [~pmay] / [~shsdev]

*Corresponding Issue(s)*
_A list of hyperlinks to the Issues to which this provides a Solution._

[SPR:At risk and decaying audio data on CDs]

*Tool/code link*
_A link to code on Git hub or a corresponding_ _[myExperiment|]_ _if applicable_

*[Tool Registry Link|]*
_Add an entry to the OPF Tool Registry, and provide a link to it here._

_Any notes or links on how the solution performed._