diff --git a/bin/musicUnpad b/bin/musicUnpad new file mode 100755 --- /dev/null +++ b/bin/musicUnpad @@ -0,0 +1,9 @@ +#!/bin/zsh + +# doing a show with no baked-in-pad, but reusing a song from a show that did have it? + +IN=$1 +OUT=${IN:r}-unpad.wav + +# see notes at https://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/ +sox $IN $OUT silence 1 4 1% -1 8 0.0%