Last active
September 3, 2021 19:37
-
-
Save kairusds/eb5aba122b3b819c3741441de6eed86b to your computer and use it in GitHub Desktop.
my script for normalizing the volume of audio files
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
#!/bin/sh | |
if [ $# -eq 0 ]; then | |
echo "Usage: audnorm <path>" | |
exit 1 | |
fi | |
out="${1%.*}.normalized.mp3" | |
ffmpeg -i "$1" -ab 192k -af "volume=6.0dB" "$out" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment