Generate spliced timeline using a view
splice_time.View.Rd
Generate spliced timeline using a view
Usage
# S3 method for View
splice_time(x, win_size, step_size, ...)
Arguments
- x
View
object.- win_size
duration of window segment in seconds.
- step_size
increment in seconds between segments.
- ...
ignored.
See also
Other splicing functions:
clip_splice()
,
get_spliced_view()
,
is_splice_overlapping()
,
merge_splice()
,
splice_time.Duration()
,
splice_time.Metre()
,
splice_time.OnsetsDifference()
,
splice_time.list()
,
splice_time()
,
split.SplicedView()
Examples
r <- get_sample_recording()
rv <- get_raw_view(r, "Central", "", "Sitar")
df <- splice_time(rv, win_size = 3, step_size = 0.5)
head(df)
#> Segment Start End
#> 1 w1 0.0 3.0
#> 2 w2 0.5 3.5
#> 3 w3 1.0 4.0
#> 4 w4 1.5 4.5
#> 5 w5 2.0 5.0
#> 6 w6 2.5 5.5