Lossless Listening
Command Line – FLAC

© Photo by Alphacolor 13 on Unsplash
With a little effort, you can create digital audio files with CD quality sound.
Many music listeners content themselves with the MP3 format. However, for dedicated audiophiles, the preferred digital format is the Free Lossless Audio Codec (FLAC) [1]. FLAC files are supported by most hardware and music players, as well as editors like Audacity. However, creating FLAC files or even ripping to FLAC on Linux requires installation of the flac package for converting to and from FLAC. The package is available for most distributions but is not always installed by default.
Developed by the Xiph.Org Foundation [2], which also provides the reference implementation for the OGG formats [3], FLAC is preferred by music lovers for numerous reasons. To start with, it is licensed under the New BSD license [4], unencumbered by patents, and does not support digital rights management. In fact, the codec's website specifically states that "there is no intention to add any copy prevention methods." Also, being free-licensed, it is easy to convert to other formats and does not require vendor lock-in for users to continue to have access to a file's data.
Just as important are the features of FLAC files. If you compare the same track in MP3 (.mp3
) and FLAC (.flac
) formats, you will notice that the FLAC file can be as much as 250 percent larger. The main reason for this difference is that, while both formats compress audio information, MP3 is a lossy format [5], whereas FLAC is lossless [6]. In other words, when compressing audio information, MP3 discards content and replaces it with approximations that are acceptable to the ear, and FLAC does not. A lossy format might be preferable when transmitted over limited bandwidth or acceptable when played in a noisy environment, such as on a busy street, but if your priority is the faithfulness of sound reproduction, then a lossless format like FLAC offers better playback. A decade ago, lossy formats were popular because storage was limited on handheld music players. Today, with the availability of 250GB microSD cards and players with high-end digital-to-analog converters (DACs) [7], lossless formats like FLAC are becoming more popular than ever. Independent music labels, for instance, routinely offer FLAC downloads per fanbase requests.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Gnome’s Dash to Panel Extension Gets a Massive Update
If you're a fan of the Gnome Dash to Panel extension, you'll be thrilled to hear that a new version has been released with a dock mode.
-
Blender App Makes it to the Big Screen
The animated film "Flow" won the Oscar for Best Animated Feature at the 97th Academy Awards held on March 2, 2025 and Blender was a part of it.
-
Linux Mint Retools the Cinnamon App Launcher
The developers of Linux Mint are working on an improved Cinnamon App Launcher with a better, more accessible UI.
-
New Linux Tool for Security Issues
Seal Security is launching a new solution to automate fixing Linux vulnerabilities.
-
Ubuntu 25.04 Coming Soon
Ubuntu 25.04 (Plucky Puffin) has been given an April release date with many notable updates.
-
Gnome Developers Consider Dropping RPM Support
In a move that might shock a lot of users, the Gnome development team has proposed the idea of going straight up Flatpak.
-
openSUSE Tumbleweed Ditches AppArmor for SELinux
If you're an openSUSE Tumbleweed user, you can expect a major change to the distribution.
-
Plasma 6.3 Now Available
Plasma desktop v6.3 has a couple of pretty nifty tricks up its sleeve.
-
LibreOffice 25.2 Has Arrived
If you've been hoping for a release that offers more UI customizations, you're in for a treat.
-
TuxCare Has a Big AlmaLinux 9 Announcement in Store
TuxCare announced it has successfully completed a Security Technical Implementation Guide for AlmaLinux OS 9.