Skip to content

Linux

My operating system of choice.

Wrapping flac to set a default compression level

I'm using Whipper to rip CDs into FLAC files on the command-line. It comes with support for MusicBrainz and focuses on bit-perfect archival of the original audio data.

However, what it doesn't come with is a lot of configuration options, and choosing a compression level for your FLAC files (or customizing the CLI arguments passed to the flac command) is not something you can easily do. Which is why I wrote a custom wrapper script in Python to get around this.