Skip to main content

deflacue is a SoX based audio splitter to split audio CD images incorporated with .cue files

Project description

release lic ci coverage

What’s that

deflacue is a SoX based audio splitter appropriate to split audio CD images incorporated with .cue files.

It is able to function both as a Python module and in command line mode.


  • Large variety of supported lossless input audio formats FLAC, WAV, etc. (due to SoX).
  • Batch audio files processing (including recursive path traversing).
  • Automatic audio collection hierarchy building (Artist/Year-Album/Tracknum-Title).
  • Automatic track metadata copying from .cue.


  • Python 3.6+

  • SoX command line utility -

    Ubuntu users may install the following SoX packages: sox, libsox-fmt-all.


From Python

from deflacue import deflacue - if you want to use it as module.

Use Deflacue class for SoX interaction.

Use CueParser class for .cue parsing.

From Command Line

deflacue --help in command line - to get help on utility usage.

In the following example we create audio collection in /home/idle/audio_collection/ from audio CD images stored under /home/idle/audio_raw/ processing Cue Sheet files created using windows-1251 encoding:

$ deflacue -e windows-1251 /home/idle/audio_raw/ -d /home/idle/audio_collection/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deflacue, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size deflacue-2.0.1-py2.py3-none-any.whl (10.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size deflacue-2.0.1.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page