| splice_time.Metre {movementsync} | R Documentation |
Generate spliced timeline using a Metre object
Description
Generate spliced timeline using a Metre object
Usage
## S3 method for class 'Metre'
splice_time(
x,
window_duration = NULL,
window_proportion = NULL,
tactus = NULL,
...
)
Arguments
x |
|
window_duration |
duration of window around beat (may lead to overlapping windows if large). |
window_proportion |
sets the window duration around beat based on a proportion (0, 0.5] of the gap to the previous and following cycles. The first and last beats in each Metre are removed. |
tactus |
vector of Metres to subset on. |
... |
ignored. |
Value
a Splice object.
See Also
Other splicing functions:
clip_splice(),
get_spliced_view(),
is_splice_overlapping(),
merge_splice(),
splice_time.Duration(),
splice_time.OnsetsDifference(),
splice_time.View(),
splice_time.list(),
splice_time(),
split.SplicedView()
Examples
r <- get_sample_recording()
m <- get_metre_data(r)
splicing_df <- splice_time(m, window_duration = 1)
head(splicing_df)
splicing_df <- splice_time(m, window_proportion = 0.25)
head(splicing_df)
[Package movementsync version 0.1.4 Index]