A set of scripts for working with audio files.
$ brew install cuetools flac ffmpeg shntool
Converts all ape files in the directory tree to flac using ffmpeg's default compression level. Also renames any *.ape.cue files to *.flac.cue.
$ ./ape-to-flac.sh
$ ./ape-to-flac.sh -y
Replaces all characters outside the ASCII character set with a question mark in all cue files in the directory tree. This is sometimes a prerequisite for for split-cue.
$ ./clean-cue.sh
Converts all matched files in the directory tree to 320K mp3.
$ ./convert-to-mp3.sh
$ ./convert-to-mp3.sh -y
Downloads each file in the specified playlist to the current directory.
./download-playlist-files.sh https://archive.org/download/gd1970-04-03.144890.sbd.boswell.smith.sirmick.flac1644/gd1970-04-03.144890.sbd.boswell.smith.sirmick.flac1644_vbr.m3u
Converts all iso files in the directory tree to dsf. Requires sacd_extract (included).
./iso-to-dsf.sh
Deletes all matched files in the directory tree.
./remove-junk.sh
Splits all flac files in the directory tree as indicated in their corresponding cue file.
./split-flac.sh
Converts all files in the directory tree matching the specified extension to flac.
./x-to-flac.sh dsf
Converts all files in the directory tree matching the specified extension to wav.
./x-to-wav.sh wv