Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.4 KB

File metadata and controls

40 lines (27 loc) · 1.4 KB

Convert WAV to ALAC/FLAC and Migrate Metadata

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.

Usage

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: flac or alac

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>

Prerequisites

  • Python 3.7+
  • ffmpeg
  • mutagen

Installation

  1. Clone the repository to your local machine
  2. Open a terminal and navigate to the cloned repository directory
  3. Install the required Python packages:
pip3 install -r requirements.txt
  1. Run the script, replacing the paths with your actual download locations and choosing either flac or alac:
python3 bleep-hires-convert.py '/path/to/bleep_wav' '/path/to/bleep_flac' flac