Skip to content

Instantly share code, notes, and snippets.

@DarkPark
Last active August 31, 2022 08:11
Show Gist options
  • Save DarkPark/0e15a2a7a89f94b9fd26b61175cf659d to your computer and use it in GitHub Desktop.
Save DarkPark/0e15a2a7a89f94b9fd26b61175cf659d to your computer and use it in GitHub Desktop.
Bash script to increase playback speed for all audio files in the current directory.
# bash
for file in *.mp3; do ffmpeg -i "$file" -filter:a "atempo=2" -vn "x2_$file" -y; done
# fish
for file in *.mp3; ffmpeg -i "$file" -filter:a "atempo=2" -vn "x2_$file" -y; end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment