This script converts Bleep's 24-bit WAVE files to FLAC/ALAC format and transfers metadata from corresponding FLAC/MP3 files. Since FLAC and ALAC support high-resolution formats (24-bit/192 kHz and beyond), this tool allows you to leverage that fidelity while also benefiting from significant file size reduction.
Users need to download both the 24-bit Hi-Res WAVE files and a FLAC or MP3 version of a music release from Bleep.
To use the script, provide three arguments:
- The path to the Bleep WAV folder (source audio for conversion)
- The path to the FLAC/MP3 folder (source metadata for converted audio)
- The desired final lossless format:
flacoralac
Converted files will appear in a converted folder in the same directory as bleep-hires-convert.py.
python3 bleep-hires-convert.py <wave_folder> <metadata_folder> <flac|alac>- Python 3.7+
- ffmpeg
- mutagen
- Clone the repository to your local machine
- Open a terminal and navigate to the cloned repository directory
- Install the required Python packages:
pip3 install -r requirements.txt- Run the script, replacing the paths with your actual download locations and choosing either
flacoralac:
python3 bleep-hires-convert.py '/path/to/bleep_wav' '/path/to/bleep_flac' flac