Scroll to navigation

SILAN(1) User Commands SILAN(1)

NAME

silan - Soundfile Silence Analyzer

SYNOPSIS

silan [ OPTIONS ] <file-name>

DESCRIPTION

silan - Audiofile Silence Analyzer.

OPTIONS

display this help and exit
skip silence mid file. print start/end boundaries only.
same as -b, except the sound-off is detected by decoding backwards from the end. This is much faster but also inacurate.
specify output format (default: 'txt')
high-pass filter coefficient (default:0.98) disable: 1.0; range 0 < val <= 1.0
display initial state (don't assume initial silence at start).
write data to file instead of stdout
show progress info on stderr
inhibit error messages
RMS signal threshold (default 0.001 ^= -60dB) postfix with 'd' to specify decibels
holdoff time in seconds (default 0.5)
specify output unit (default: 'seconds')
increase debug-level (can be used multiple times)
print version information and exit

This application reads a single audio file and analyzes it for silent periods. Timestamps/ranges of silence are printed to standard output.

Valid output formats are: txt, JSON, audacity (label file)

Valid output units are: samples, seconds or bytes (audacity format uses seconds regardless).

Sound is detected if the signal level exceeds a given threshold for a duration of at least <holdoff> time. Note that the returned timestamps are corrected for the holdoff-time.

The fast boundary scan can decrease the time it takes to analyze a file at the cost of accuracy. Use --fastbounds with care. Due to low-pass filtering and RMS calculation the results will be different (+- .1 sec), furthermore some codecs are not suitable for backwards decoding or sample-accurate seeking and may skew the timestamp by one second or more. The fast boundary scan mode requires a seekable file and does not work with streams.

REPORTING BUGS

Report bugs to Robin Gareus <robin@gareus.org>
Website and manual: <https://github.com/x42/silan>

COPYRIGHT

Copyright © GPL 2012-2018 Robin Gareus <robin@gareus.org>

May 2018 silan version 0.4.0