trim_silence.sh
Less than 1 minute
trim_silence.sh
Usage: trim_silence.sh [options] <data-dir> <log-dir>
e.g.: trim_silence.sh data/train exp/trim_silence/train
Options:
--fs <fs> # sampling frequency (default=16000)
--win_length <win_length> # window length in point (default=1024)
--shift_length <shift_length> # shift length in point (default=256)
--threshold <threshold> # power threshold in db (default=60)
--min_silence <sec> # minimum silence length in sec (default=0.01)
--normalize <bit> # audio bit (default=16)
--cmd <cmd> # how to run jobs (default=run.pl)
--nj <nj> # number of parallel jobs (default=32)