Reduce MP3 Size

#!/bin/bash
 
mkdir -p normlized
 
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for INFILE in *.mp3
do
  echo "[$INFILE]"
  lame --mp3input -b 56 "$INFILE" "$INFILE.lame.mp3"
  sox --norm "$INFILE.lame.mp3" "normlized/$INFILE" 
  rm "$INFILE.lame.mp3"
done
IFS=$SAVEIFS
howto/reduce_mp3_size.txt · Last modified: 2022/01/03 16:03 by 127.0.0.1
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0