view bin/musicUnpad @ 2389:0e90dd50e8c4

midifade: improve the midi-event-skip behavior
author drewp@bigasterisk.com
date Tue, 14 May 2024 12:16:53 -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%