splice_time.Duration function

Generate spliced timeline using a Duration object

Generate spliced timeline using a Duration object

## 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()

Returns

a Splice object.

Examples

r <- get_sample_recording() d <- get_duration_annotation_data(r) splice_time(d, tier = 'Event', comments = 'tabla solo')

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

  • Maintainer: Tuomas Eerola
  • License: MIT + file LICENSE
  • Last published: 2023-06-09

Useful links