Extract detections as audio file samples and/or spectrograms
Supports audio extractions as .flac, .wav and .mp3. Spectrograms exported as .png, .jpg, or other matplotlib.pyplot supported formats. Can be filtered to only extract files above a separate minimum confidence value.
Download and analyzer an audio file from a URL
Analyze an entire directory
Analyze an entire directory with multithreading support
Watch a directory and analyze files as they are added
On Linux, record live audio and analyze in 3 sec segments
arecord only works on Linux.
Limit detections to certain species by passing a predefined species list to the analyzer
Useful when searching for a particular set of bird detections.
Analyze an audio stream in realtime using RecordingBuffer class
Watch a directory for new files, then analyze with both analyzer models as files are saved
Watch a directory for new files, and apply datetimes by parsing file names (eg 2022-08-15-birdnet-21:05:52.wav) prior to analyzing
This example can also be used to modify lat/lon, min_conf, etc., based on file name prior to analyzing.
Watch a directory for new files, and apply datetimes by parsing file names (eg 2022-08-15-birdnet-21:05:52.wav) prior to analyzing and save results to SQLite