Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilobatistaqueiroz/fc4ff22c9b6032e1a41050d595ec14ea to your computer and use it in GitHub Desktop.
Save danilobatistaqueiroz/fc4ff22c9b6032e1a41050d595ec14ea to your computer and use it in GitHub Desktop.
Slow down or speed up all MP3 files in a folder with FFmpeg.
#/bin/sh
speed="0.7"
mkdir "speed-${speed}x"
for f in *.mp3
do ffmpeg -i "$f" -filter:a "atempo=${speed}" "./speed-${speed}x/$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment