|
@@ -29,14 +29,16 @@ done
|
|
|
|
|
|
# next loop over those clips and shrink them appropriately
|
|
|
for i in $(seq 0 59); do
|
|
|
- infile="clip-$i.wav"
|
|
|
- outfile="clip-$i-adj.wav"
|
|
|
- tempo=$(eval printf 'atempo=0.95\;%.0s' {1..$i})
|
|
|
+ outfile="clip-$i.wav"
|
|
|
+ infile="_$outfile.tmp"
|
|
|
+ mv $outfile $infile
|
|
|
+ tempo=$(eval printf 'atempo=1.1,%.0s' {1..$i} | sed 's/,$//')
|
|
|
$FFMPEG -i $infile -filter:a "$tempo" -vn $outfile
|
|
|
+ rm $infile
|
|
|
done
|
|
|
|
|
|
# stitch em together
|
|
|
# Using a file here because i need to access it in docker
|
|
|
>_concat; for i in $(seq 0 59); do echo "file clip-$i-adj.wav" >>_concat; done
|
|
|
|
|
|
-ffmpeg -f concat -safe 0 -i _concat -c copy powerhour.wav
|
|
|
+$FFMPEG -f concat -safe 0 -i _concat -c copy powerhour.wav
|