Browse Source

Use a single tempo filter

Joe Ceresini 3 years ago
parent
commit
c4ddd4cc05
1 changed files with 2 additions and 2 deletions
  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