Description Usage Arguments Details Value Author(s) See Also Examples
Read in a table of song event times and the corresponding Wave
object, extract the song events, and bind them into a single Wave
object for archiving or comparison viewing.
1 |
rec |
File path to mp3 or wav file or object of class |
file |
File path to csv file containing event times. See details. |
by.species |
Logical. Should each species be in its own |
parallel |
Logical. |
return.times |
Logical. |
The csv file supplied must use a standard set of column names, which can occur in any order:
name
Species name
start.time
Event start time, in seconds
end.time
Event end time, in seconds
These column names are those supplied in an annotation file produced by viewSpec
.
If return.times = FALSE
, an object of class Wave
.
If return.times = TRUE
, a list:
times |
A data frame with the start and end times of events in the |
wave |
An object of class |
Sasha D. Hafner
viewSpec
,
collapseClips
,
bind
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
data(survey_anno)
data(survey)
# Don't return times
events <- bindEvents( rec = survey, file = survey_anno, by.species = TRUE, parallel = FALSE,
return.times = FALSE)
# Return times
events <- bindEvents( rec = survey, file = survey_anno, by.species = TRUE, parallel = FALSE,
return.times = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.