Description Usage Arguments Value Examples
Read audio files into a Wave object. WAV, WAC and MP3 files are currently supported.
1 | read_audio(file, time_exp = 1, from = NULL, to = NULL)
|
file |
a Wave, WAC or MP3 recording containing animal vocalizations. |
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. |
from |
optional. Numeric. Where to start reading the recording, in seconds (s). |
to |
optional. Numeric. Where to end reading the recording, in seconds (s). |
A Wave object.
1 2 | filepath <- system.file("extdata", "recording.wav", package = "bioacoustics")
read_audio(filepath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.