From f62a3675aad5b546bb04964516adc57c6c3f017f Mon Sep 17 00:00:00 2001 From: lightmare Date: Tue, 7 Feb 2023 20:43:13 +0000 Subject: [PATCH] Added convert.sh --- convert/convert.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 convert/convert.sh diff --git a/convert/convert.sh b/convert/convert.sh new file mode 100644 index 0000000..f1e4092 --- /dev/null +++ b/convert/convert.sh @@ -0,0 +1 @@ +for a in $(find "in/" -maxdepth 1 -not -name '.gitkeep' -type f); do ffmpeg -i "$a" -ar 22050 -ac 1 -c:a pcm_f32le "out/$(basename $a).wav"; done \ No newline at end of file