split.SplicedView {movementsync}R Documentation

Get a list of Views from a SplicedView

Description

Get a list of Views from a SplicedView

Usage

## S3 method for class 'SplicedView'
split(x, f, drop, ...)

Arguments

x

SplicedView object.

f

ignored.

drop

ignored.

...

ignored.

Value

list of View objects.

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.View(), splice_time.list(), splice_time()

Examples

r <- get_sample_recording()
rv <- get_raw_view(r, "Central", "", "Sitar")
pv <- get_processed_view(rv)
l <- list(a = c(0, 10), b = c(10, 20), c = c(20, 30))
splicing_df <- splice_time(l)
sv <- get_spliced_view(pv, splicing_df)
v_list <- split(sv)

[Package movementsync version 0.1.4 Index]