diff bin/musicUnpad @ 2119:e42679dfdfd9

unpad tool and edits for processing 2022 audio
author drewp@bigasterisk.com
date Thu, 02 Jun 2022 23:21:00 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/musicUnpad	Thu Jun 02 23:21:00 2022 -0700
@@ -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%