git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6636
837edb03-e0f3-0310-88ca-
d4d4e8b29345
--- /dev/null
+#!/bin/sh
+
+set -e
+
+OUTPUTDIR="6db-less"
+
+mkdir "$OUTPUTDIR"
+
+for i in *.wav; do
+ cp -vi "$i" "${OUTPUTDIR}/${i}"
+ normalize-audio -g -6db "${OUTPUTDIR}/${i}"
+done
+
+for i in *.ogg; do
+ oggdec "$i" -o "${OUTPUTDIR}/${i%%.ogg}.wav"
+ normalize-audio -g -6db "${OUTPUTDIR}/${i%%.ogg}.wav"
+ oggenc "${OUTPUTDIR}/${i%%.ogg}.wav"
+ rm "${OUTPUTDIR}/${i%%.ogg}.wav"
+done
+
+# EOF #