view bin/musicUnpad @ 2144:0bc66003fa47

copy from DefinitelyTyped
author drewp@bigasterisk.com
date Wed, 17 May 2023 18:53:10 -0700
parents e42679dfdfd9
children
line wrap: on
line source

#!/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%