Skip to content

Instantly share code, notes, and snippets.

@ptgamr
Last active September 3, 2018 08:38
Show Gist options
  • Save ptgamr/419019b02010c450bc61e640ae136e01 to your computer and use it in GitHub Desktop.
Save ptgamr/419019b02010c450bc61e640ae136e01 to your computer and use it in GitHub Desktop.
concat audio add delay (install http://macappstore.org/sox/)
#! /bin/bash
sox -n -r 22050 -c 1 /tmp/silence.wav trim 0.0 15
sox /tmp/silence.wav -C 48.01 /tmp/silence.mp3
sox $(for f in `ls *.mp3 | sort -V`; do echo -n "$f /tmp/silence.mp3 "; done) output.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment