Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View thllwg's full-sized avatar

Thorben Hellweg thllwg

View GitHub Profile
@thllwg
thllwg / recursive-resample.sh
Last active May 20, 2020 07:47 — forked from jorgehatccrma/recursive-resample.sh
Recursively resample a bunch of audio files in a directory, using sox
#!/bin/bash
# A simple script to recursively resample a bunch of files
# in a directory. Only certain file extensions (mp3, aac,
# flac, wav) are considered.
#
# It takes 2 command line options: `indir` and `outdir`.
# The destination (`outdir`) is relative to the current
# directory of where you were when the script was run.
#