浏览代码

Use a single tempo filter

Joe Ceresini 4 年之前
父节点
当前提交
c4ddd4cc05
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      powerhour.sh

+ 2 - 2
powerhour.sh

@@ -32,8 +32,8 @@ for i in {1..59}; do
   outfile="clip-$i.wav"
   infile="_$outfile.tmp"
   mv $outfile $infile
-  tempo=$(eval printf 'atempo=1.01,%.0s' {0..$i} | sed 's/,$//')
-  $FFMPEG -i $infile -filter:a "$tempo" -vn $outfile
+  tempo=$(echo "0.033 * 60"| bc)
+  $FFMPEG -i $infile -filter:a "atempo=$tempo" -vn $outfile
   rm $infile
 done