Generate spliced timeline using a Duration object
splice_time.Duration.Rd
Generate spliced timeline using a Duration object
Usage
# S3 method for Duration
splice_time(
x,
expr = NULL,
make.unique = TRUE,
tier = NULL,
comments = NULL,
...
)
Arguments
- x
Duration
object.- expr
R expression to filter data on.
- make.unique
make the segments unique? (Default is TRUE).
- tier
exact tier name to filter on.
- comments
exact comment to filter on.
- ...
passed to
make.unique()
See also
Other splicing functions:
clip_splice()
,
get_spliced_view()
,
is_splice_overlapping()
,
merge_splice()
,
splice_time.Metre()
,
splice_time.OnsetsDifference()
,
splice_time.View()
,
splice_time.list()
,
splice_time()
,
split.SplicedView()
Examples
r <- get_sample_recording()
d <- get_duration_annotation_data(r)
splice_time(d, tier = 'Event', comments = 'tabla solo')
#> Segment Start End
#> 1 tabla solo 1168.218 1209.722
#> 2 tabla solo.1 1334.148 1374.912
#> 3 tabla solo.2 1552.906 1610.111
#> 4 tabla solo.3 1752.424 1856.106
#> 5 tabla solo.4 1975.688 2025.760
#> 6 tabla solo.5 2295.255 2372.199
#> 7 tabla solo.6 2791.923 2860.007