Again working on the classic problem of making bit perfect audio CD rips on Linux (Ubuntu 15.04). Quite amazing that in the year 2015 this would still come up, now when CD as a format is nearly deprecated. Couple of days ago I re-published my guide from 2013 regarding .cue/.flac recording, which mentions the usage of Exact Audio Copy (EAC) on Wine. However this does not seem to be as straight forward as it used to be, after a couple of EAC upadates (see: Ubuntu forums thread)
Luckily for audio ripping the open source community has produced a high quality Linux native solution. Meet morituri, a simple CLI audio ripper. While the user interface is purely command line driven, this is a very simple tool to work with and the package is available in Ubuntu repositories.
Using Morituri (Ubuntu 15.04)
-
Install
sudo apt-get install morituri
Update 15-Jun-2016: Package morturi has been dropped from Ubuntu 16.04. See installation instructions below
-
Insert a popular CD that is in good condition, and use it to find your drive’s read offset. Morituri will perform a test rip and compare the results to the AccurateRip online database. Therefore it is recomenned to use a popular/common disc, and not some garage band demo.
rip offset find
This process will take some time to complete:
Trying read offset 6 ...
Trying read offset 48 ...
Offset of device is likely 48, confirming ...
Read offset of device is: 48.
In the end morituri will report the offset of your drive - make a note of it. In my case the read offset is 48.
-
Now you are ready to rip your CDs with bit perfect quality!
rip cd rip --offset (offset)
Replace the (offset) with the numeric value reported by morituris offset detection process, fox example 48 in my case. This command will produce a copy of the CD in losslessly compressed FLAC format into \Album\ folder of your home directory. Morituri has a number of additional parameter you can use. As an example you can use different audio formats for the resulting files.
--profile=PROFILE profile for encoding (default 'flac', choices 'wav', 'wavpack', 'alac', 'flac')
That’s it - happy ripping!
For further reading:
The Art Of The Rip
Ubuntu Manpages
Hydrogen Audio Wiki: AccurateRip