Skip to content

Instantly share code, notes, and snippets.

@Aluminite
Aluminite / build_audio_cd.py
Last active October 6, 2024 16:35 — forked from spicyjpeg/build_audio_cd.py
Audio CD image (.bin + .cue) generator script
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Audio CD image generator
This is a very simple command-line tool to generate a .bin and .cue file for an
audio-only CD from a set of input tracks in any format. Most of the heavy
lifting here is done by FFmpeg and NumPy, this script merely writes converted
audio data to the .bin file and generates the cuesheet.