Created
September 12, 2025 03:37
-
-
Save redraw/e852e593f07d3411a3ade957dbed88bb to your computer and use it in GitHub Desktop.
simil telefono
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
shopt -s nullglob | |
for f in *.wav; do | |
echo "[*] $f" | |
sox --clobber "$f" -C 48 -r 8000 -c 1 "${f%.wav}.mp3" \ | |
highpass 300 lowpass 3400 \ | |
compand 0.02,0.20 6:-80,-60,-40,-30,-20 -6 -90 0.2 \ | |
gain -n -1 dither -s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment