March 14, 2016 Code C ARU ABMI bioacoustics
Automated acoustic monitoring is gaining momentum worldwide. Alberta is stepping up to the game by implementing automated recording unit (ARU) based monitoring programs. An improved command line tool is here to help in the process.
The Bioacoustic Unit of the Alberta Biodiversity Monitoring Institute (ABMI) and the Bayne lab at the University of Alberta collaborates on best practices for using acoustic technology. The amount of information collected each year by these organizations is measured in dozens of terabytes, and is steadily increasing. Efficient and secure storage for all these files is the most immediate challenge, but the next one is closing the gap between data collection and data processing.
Processing all the recordings from the field
requires significant computing resources.
The first step is converting the
wac files to
wav, so that a a wider
variety of software tools can be used to analyze the information in the files.
wac format is a proprietary file format developed by
a company that specializes in bioacoustics monitoring systems.
The fact that the acoustic units manufactured by Wildlife Acoustics
are widely used in Alberta might represent a vendor lock-in.
Luckily for us, the pressure on the company
(see here and here, thanks Luis J. Villanueva-Rivera)
led to the company releasing a command line tool under the GPL license
wav file conversion (see source code here, here, and here).
The story might have ended right there. But the
C code worked with
standard input and output. It took some time and help (thanks John) to figure out exactly
how one should use the command line tool. Here is the solution:
cat input_file.wac | ./wac2wavcmd > output_file.wav
Isn’t that ugly? One would expect something like:
./wac2wavcmd input_file.wac output_file.wav
The good news is that the modified version (also released under GPL license) does just that.
It has been tested on Linux, Mac OS X and Windows 10.
It also removes all the clutter the original program prints to the
terminal. The only difference is that the program is called
wac2wawcmd. See the description and source code on
(Note: the leading
./ can be omitted if the program is added to the path.)
We are one step closer to a truly cloud based bioacoustic platform!
In a recent paper entitled “Lessons learned from comparing spatially explicit models and the Partners in Flight approach to estimate population sizes of boreal birds in Alberta, Canada” we developed improved, spatially explicit models for 81 land bird species in northern Alberta, Canada. We then compared these estimates of bird abundance to a commonly-used but non-spatially explicit estimate by Partners in Flight (PIF v 3.0) that’s based on the North American Breeding Bird Survey (BBS) data set. The publication is a result of years of collaboration between the ABMI, Boreal Avian Modelling (BAM) project, Canadian Wildlife Service (Environment and Climate Change Canada), and United States Geological Survey.
ABMI (7) ARU (1) Alberta (1) BAM (1) C (1) CRAN (1) Hungary (2) JOSM (2) PVA (2) PVAClone (1) QPAD (3) R (20) R packages (1) abundance (1) bioacoustics (1) biodiversity (1) birds (2) course (2) data (1) data cloning (4) dclone (3) density (1) dependencies (1) detect (3) detectability (3) footprint (3) forecasting (1) functions (3) intrval (4) lhreg (1) mefa4 (1) monitoring (2) pbapply (5) phylogeny (1) plyr (1) poster (2) processing time (2) progress bar (4) publications (2) report (1) sector effects (1) shiny (1) single visit (1) site (1) slider (1) slides (2) special (3) species (1) trend (1) tutorials (2) video (4)