Skip to content

Python

I'm a senior Python developer. In this category you will find Python code I've written as well as tutorials and thoughts about the Python language and ecosystem.

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.