TZ-TRIM

2010–2025

NAME

tz trim - strip leading and trailing silence

SYNOPSIS

tz trim [threshold [infile [outfile]]]

DESCRIPTION

Strip leading and trailing silence from infile and store the result in outfile. Silence is everything below or equal to the given threshold in units of the maximum allowed displacement, i.e., between 0 and 1, where expressions like 1/2 or 3:4 are permitted. All files must be in the WAVE format. threshold defaults to 0. Filenames default to /dev/stdin or /dev/stdout. The dash (-) is a shorthand for the default value.