Skip to content

Audio / USV

Tools for processing, detecting, and classifying ultrasonic vocalizations (USVs) and other audio signals. Supports high-sample-rate recordings (up to 250+ kHz) commonly used in rodent vocal communication research.

Launch any tool from the FNT main GUI Audio tab.

Mask Audio Detector (MAD)

Project-based spectrogram labeling, training, and inference tool. See the MAD Overview for a full description of the pipeline.

  • Interactive spectrogram viewer — pan, zoom, and adjust frequency range across the full recording
  • Paint-based labeling — brush and SAM2-assisted tools to paint call masks directly on the spectrogram
  • Label workflow — pending → confirmed or rejected annotations
  • Training — train a U-Net segmentation model on labeled examples within the GUI
  • Inference — run trained models on new recordings; review and correct predictions
  • Project system — references recordings where they live; the project folder holds the training data and models
  • Output — a <recording>_FNT.mad file beside each wav (masks, detections, review status), exported to CSV on request

Classic Audio Detector (CAD)

Signal-processing detection and review tool, no trained model. See the CAD page for the pipeline and every output column.

  • Spectrogram-based detection using configurable thresholds and filters (frequency band, energy threshold, duration, bandwidth, SNR, tonality, entropy, sweep rate), with saveable species profiles
  • Review — accept, reject or skip each call; add, resize or re-draw calls by hand, re-measured automatically
  • Per-call statistics — timing, frequency (min, max, peak, mean, 5-point contour), power, SNR, tonality, entropy and contour shape
  • Harmonic linking — harmonics at 2× and 3× the fundamental are labelled and grouped with it
  • Output — a <recording>_FNT_CAD_detections.csv beside each wav, one row per call, saved after every edit

Compress Audio Files

Batch WAV compression for archival storage — convert to FLAC (lossless) or other formats with folder-based batch processing, preserving sample rate and bit depth.

Trim Audio File

Interactive audio trimming with spectrogram visualization, visual start/end selection, frequency filtering, and heterodyne playback for previewing ultrasonic content in the audible range.

USV Heterodyne Processing

Batch conversion of ultrasonic recordings to audible heterodyne signals — mixes the recording with a carrier frequency (default 40 kHz) to shift ultrasonic content into the audible range, with band-pass filtering to isolate the difference frequencies.

Audio format support

The module uses soundfile for standard WAV formats and falls back to FFmpeg for exotic encodings (e.g., ADPCM). FFmpeg must be installed and on PATH for full format support — see Installation.