vault backup: 2024-01-25 14:02:02
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
file=1;
|
||||
for audio in media/*.mp3; do
|
||||
if [ $audio != "media/footsteps_forest_01.mp3" ]; then
|
||||
echo Processing $audio
|
||||
filename="00$file"
|
||||
filename=${filename:(-3)}
|
||||
sox $audio temp.wav silence 1 0 0
|
||||
sox media/footsteps_forest_01.mp3 temp.wav -C 128 $filename.mp3
|
||||
rm temp.wav
|
||||
let file=file+1
|
||||
fi
|
||||
done
|
Reference in New Issue
Block a user