splice_time.Duration {movementsync}R Documentation

Generate spliced timeline using a Duration object

Description

Generate spliced timeline using a Duration object

Usage

## S3 method for class '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()

Value

a Splice object.

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')

[Package movementsync version 0.1.4 Index]