Merge pull request 'Added convert.sh' (#8) from lightmare/tortoise-tts:convert_sh into main

Reviewed-on: mrq/tortoise-tts#8
This commit is contained in:
mrq 2023-02-07 21:09:00 +00:00
commit 0bf4fefd42

1
convert/convert.sh Normal file
View File

@ -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