Skip to content

snsr-log-split

Command-line splitter for logfiles generated by the debug template tpl-spot-debug.

Usage

Splits spotter log files into an event log, captured audio data,
and the source spotter model.

usage: snsr-log-split logfile [logfile ...]
 options:
  -d directory     : output directory (default: .)
  -v [-v [-v]]     : increase verbosity

This will put an event log file (.txt), audio file (.wav), and model file (.snsr) into the current directory, or into the output directory if that was supplied.

Example

% snsr-log-split -d out debug.log
% ls out
debug.snsr  debug.txt  debug.wav

This will create components of debug.log in subdirectory out/ (which must already exist.)