qwavsilence1
Detect and shrink silence sequences in wav files
Usage
qwavsilence [option] ...
file ...
Overview
qwavsilence reads a list of wav files looking for silence sequences.
Options
-
-d <duration>[<format>], --duration=<duration>[<format>] -
duration is a positive integer that specifies the minimum duration of a silent sequence on a file to be reported. the value is treated as a sample number unless a format specifier is used. see the FORMATS section below for information. the default value is one second.
-
-h, --help -
show a brief help and exit.
-
-S, --shrink -
when this option is set, all the silent sequences greater than duration will be shrinked down to duration and the file size truncated accordingly.
-
-t <threshold>, --threshold=<threshold> -
threshold is a percentage value respect the maximum (absolute) sample value. samples whose value is under the given threshold are considered silent. for example, a value of 2 means that all samples with absolute value under the 2% will be treated as silent samples. the default value is 0.
-
-v, --verbose -
show more detailed info.
-
-V, --version -
show version and exit.
Formats
the following modifiers are provided:
|
value is interpreted as milliseconds. |
|---|---|
|
value is interpreted as minutes. |
|
value is interpreted as seconds. |
|
value is interpreted as bytes. |
|
value is interpreted as kbytes (1024 bytes). |
M
|
value is interpreted as megabytes (1024 kbytes). |
in either case, the values specified will be rounded to get an integer number of samples.
Releases
Unchanged in 10 releases since Debian 3.1 (Sarge).