read_wac: Read WAC files from Wildlife Acoustics recorders

Description Usage Arguments Value Examples

View source: R/read_audio.R

Description

Convert a Wildlife Acoustics' proprietary compressed WAC file into a Wave object

Usage

1
read_wac(file, time_exp = 1, write_wav = NULL, ...)

Arguments

file

a WAC file.

time_exp

integer. Time expansion factor of the recording. Set to 1 for real-time recording or above for time expanded recording. Default setting is 1.

write_wav

optional folder path where WAV files will be written.

...

currently not implemented.

Value

A Wave object.

Examples

1
2
filepath <- system.file("extdata", "recording_20170716_230503.wac", package = "bioacoustics")
read_wac(filepath)

bioacoustics documentation built on Oct. 14, 2021, 9:07 a.m.