How to tear your audio CDs to MP3, FLAC from the Linux terminal with abcde

How to tear your audio CDs to MP3, FLAC from the Linux terminal with abcde

I like music! I’ve a whole lot of CDs in my assortment, just a few of which have survived since from the late Nineteen Eighties. I’ve an authentic copy of Nirvana’s Nevermind, Foo Fighters debut album, Bush’s Sixteen Stone, and plenty of CDs from the grunge and steel period of the Nineties. I used to have a Spotify streaming account, however I need to personal the music I hearken to. Having the CDs is nice, however that isn’t a lot use when I’m out strolling the canine. So how can I take my music with me when out and about? I would like to tear the audio CDs.

Ripping CDs was a well-liked exercise round 15 to twenty years in the past. Heck, I keep in mind ripping audio CDs to MP2 (not a typo!) on an AMD K6-2 333. It took loads of computing energy again then, however now even a Raspberry Pi can rip an audio CD and convert the output to MP3 and FLAC with out breaking a sweat.

In this how-to, I present you find out how to use abcde A Better CD Encoder, a terminal software, to tear an audio CD after which convert the audio to an MP3 and FLAC together with full album and monitor particulars. I’m utilizing a Raspberry Pi 5 16GB, however this mission can use any Raspberry Pi mannequin from Pi 3 upwards. We additionally examined it on a laptop computer working Ubuntu and all the things was simply as clean.

For this mission you will want

  • A Raspberry Pi 3/4/5 or a Zero 2 W or Linux pc
  • Keyboard, mouse, HDMI and energy to your Raspberry Pi
  • A USB CD / DVD / Bluray drive
  • Audio CDs

Yes, there are various purposes. I take advantage of freac to tear CDs on Windows, and it does an awesome job. On Linux, K3B is a KDE-based CD toolbox, and my favourite burning software. K3B may also be used to tear CDs, however with abcde we are able to do all of it with only a few instructions, and little or no system sources. We might even script the method to detect, rip and save the audio recordsdata to a particular location. But first, let’s discover ways to use abcde.

Please keep in mind that legal guidelines could prohibit you from ripping your audio CDs. Please seek the advice of your native legal guidelines earlier than ripping your CDs.

1. Open a terminal and replace the software program repositories and improve the software program put in in your machine.

Stay On the Cutting Edge: Get the Tom’s Hardware Newsletter

Get Tom’s Hardware’s finest information and in-depth opinions, straight to your inbox.

sudo apt replace && sudo apt improve -y

2. Install abcde CD ripping software program.

sudo apt set up abcde

3. Install eyed3 MP3 ID3 metadata (tune data) administration and lame MP3 encoder. We want eyed3 to write down the MP3 metadata from the net databases for our audio recordsdata. The Lame MP3 encoder is the appliance known as after abcde rips the audio CD to WAV format.

sudo apt set up eyed3 lame

4. Connect a CD / DVD / Bluray drive to your pc and insert the CD that you just want to rip.

5. In the terminal run the command to tear the audio and encode to an MP3 at 320kbps. Change the 320 worth to match your necessities. Anything above 192 is nice for many units.

abcde -o mp3:”-b 320”

6. The software will verify on-line for the album particulars after which counsel three choices. Choose the choice that matches the album and monitor particulars to your CD, press Q to exit, after which enter the variety of your alternative.

(Image credit score: Tom’s Hardware)

7. When requested to edit the CDDB, it’s your name. If the info appears to be like right, choose N and press Enter. If incorrect, press Y and Enter to edit.

(Image credit score: Tom’s Hardware)

8. Is the album a multi-artist manufacturing? If sure, then choose Y and Enter, then edit accordingly. No is the default, and 9 occasions out or ten it’s right.

(Image credit score: Tom’s Hardware)

9. Wait for the CD to tear. The CD / DVD / Bluray drive will spring into life and begin the ripping course of. The software will robotically encode the audio tracks to MP3 as the method progresses.

(Image credit score: Tom’s Hardware)

10. Navigate to the folder containing the MP3s, and check the tracks in VLC or one other media participant.

(Image credit score: Tom’s Hardware)

What about FLAC?

FLAC (Free Lossless Audio Codec) is a digital audio format that gives lossless compression with none lack of sound high quality. Digital audiophiles need the very best audio, and whereas MP3 is respectable from a file measurement versus high quality viewpoint, with the worth of storage being so low now, we are able to afford to tear our audio into the very best format.

So with that in thoughts, lets use abcde to tear an audio CD to FLAC.

We’ll want to put in some further software program with a view to rip to FLAC.

1. Open a terminal and replace the checklist of obtainable software program, then set up the FLAC instruments.

sudo apt replace && sudo apt set up flac

2. Insert a CD and within the terminal run the command to tear the audio and encode to FLAC. You might want to comply with the identical steps as six to 9 above (determine the artists, album and tracks). By default, the FLAC encoder will

abcde -o flac

With that command we have now efficiently ripped an audio CD to FLAC utilizing the default compression (5). But what if you wish to tweak the compression?

The FLAC encoder has 9 ranges of compression. The default is 5, giving us good high quality and cheap compression. If you need to enhance the compression select eight, no compression, select 0.

To set the compression, cross the worth when working the abcde command. Change the worth 8 to match the steadiness of compression / high quality that you just require.

abcde -o 'flac:-8'

HI-FI News

through Latest from Tom’s Hardware https://ift.tt/COgEJqZ

June 12, 2025 at 01:09PM