Fixed truncated sounds

This commit is contained in:
Anuken
2019-08-15 14:16:41 -04:00
parent 6fa0ac56ac
commit 7f2a1374e4
43 changed files with 9 additions and 2 deletions
+9 -2
View File
@@ -1,5 +1,12 @@
#convert from stereo to mono
for i in assets/sounds/*.ogg; do
cd assets/sounds/
for i in *.ogg; do
echo $i
ffmpeg -i "$i" -y -ac 1 "$i"
ffmpeg -i "$i" -ac 1 "OUT_$i"
done
find . -type f ! -name "OUT_*" -delete
for file in OUT_*; do mv "$file" "${file#OUT_}"; done;
cd ../../